Date: Saturday, April 22, 2023 @ 12:33:48
  Author: alerque
Revision: 1448308

archrelease: copy trunk to community-any

Added:
  soundconverter/repos/community-any/PKGBUILD
    (from rev 1448307, soundconverter/trunk/PKGBUILD)
Deleted:
  soundconverter/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-22 12:33:38 UTC (rev 1448307)
+++ PKGBUILD    2023-04-22 12:33:48 UTC (rev 1448308)
@@ -1,39 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: schuay <[email protected]>
-# Contributor: sezanzeb for the 4.0.0 PKGBUILD.
-# Contributor: Stefan Husmann <[email protected]>
-# Contributor: Andrea Scarpino <[email protected]>
-
-pkgname=soundconverter
-pkgver=4.0.3
-pkgrel=4
-pkgdesc='A simple sound converter application for GNOME'
-arch=(any)
-license=(GPL3)
-url=https://soundconverter.org
-depends=(desktop-file-utils
-         gst-plugins-good
-         gst-plugins-ugly
-         gst-python
-         python-gobject
-         python-setuptools) # https://bugs.archlinux.org/task/71201
-makedepends=(python-distutils-extra)
-#depends=(gst-plugins-base gst-plugins-good gtk3 libnotify python-gobject)
-#makedepends=(intltool python-distutils-extra)
-_archive="$pkgname-$pkgver"
-source=("https://launchpad.net/soundconverter/trunk/$pkgver/+download/$_archive.tar.gz";)
-sha256sums=('873206ff82c3dfbd397ab3d8bd76fbba847017d2ed28a20a0778eb86960cb19d')
-
-build() {
-  cd "$_archive"
-  python setup.py build
-}
-
-package() {
-  cd "$_archive"
-  python setup.py install --prefix="$pkgdir/usr"
-  # python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  # pacman will compile schemas via a hook once placed into /usr,
-  # don't let the setup.py script do it.
-  rm "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled"
-}

Copied: soundconverter/repos/community-any/PKGBUILD (from rev 1448307, 
soundconverter/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-22 12:33:48 UTC (rev 1448308)
@@ -0,0 +1,39 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: schuay <[email protected]>
+# Contributor: sezanzeb for the 4.0.0 PKGBUILD.
+# Contributor: Stefan Husmann <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
+
+pkgname=soundconverter
+pkgver=4.0.3
+pkgrel=6
+pkgdesc='A simple sound converter application for GNOME'
+arch=(any)
+license=(GPL3)
+url=https://soundconverter.org
+depends=(desktop-file-utils
+         gst-plugins-good
+         gst-plugins-ugly
+         gst-python
+         python-gobject
+         python-setuptools) # https://bugs.archlinux.org/task/71201
+makedepends=(python-{build,installer,wheel}
+             python-distutils-extra)
+#depends=(gst-plugins-base gst-plugins-good gtk3 libnotify python-gobject)
+#makedepends=(intltool python-distutils-extra)
+_archive="$pkgname-$pkgver"
+source=("https://launchpad.net/soundconverter/trunk/$pkgver/+download/$_archive.tar.gz";)
+sha256sums=('873206ff82c3dfbd397ab3d8bd76fbba847017d2ed28a20a0778eb86960cb19d')
+
+build() {
+  cd "$_archive"
+  python -m build -wn
+}
+
+package() {
+  cd "$_archive"
+  python -m installer -d "$pkgdir" dist/*.whl
+  # pacman will compile schemas via a hook once placed into /usr,
+  # don't let the setup.py script do it.
+  rm "$pkgdir/usr/share/glib-2.0/schemas/gschemas.compiled"
+}

Reply via email to