[arch-commits] Commit in asoundconf/trunk (PKGBUILD)

Alad Wenter alad at archlinux.org
Tue Aug 6 20:14:52 UTC 2019


    Date: Tuesday, August 6, 2019 @ 20:14:50
  Author: alad
Revision: 498094

upgpkg: asoundconf 1.2-2

Modified:
  asoundconf/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-06 20:10:38 UTC (rev 498093)
+++ PKGBUILD	2019-08-06 20:14:50 UTC (rev 498094)
@@ -1,21 +1,27 @@
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Alad Wenter <alad at archlinux.org>
+# Contributor: Lukas Jirkovsky <l.jirkovsky at gmail.com>
 pkgname=asoundconf
 pkgver=1.2
-_pkgver=01a1f5320b0a
-pkgrel=1
-epoch=1
-pkgdesc="Get and set configuration parameters in ~/.asoundrc.asoundconf"
+_revision=bf25f416f615a43267abecab4c599e86f363438b # 1.2
+pkgrel=2
+pkgdesc="utility to read and change the user's ALSA library configuration"
 arch=('any')
 url="https://bitbucket.org/stativ/asoundconf"
 license=('GPL')
 depends=('python2')
+makedepends=('mercurial')
 optdepends=('pygtk: asoundconf-gtk GUI')
-source=($pkgname-${pkgver}.tar.gz::https://bitbucket.org/stativ/asoundconf/get/${pkgver}.tar.gz)
-md5sums=('aa12135497217f248e70c6aee286f453')
+source=("hg+https://bitbucket.org/stativ/asoundconf#revision=$_revision")
+sha256sums=('SKIP')
 
+build() {
+    cd "$pkgname"
+    python2 setup.py build
+}
+
 package() {
-  cd "$srcdir/stativ-$pkgname-$_pkgver"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
+    cd "$pkgname"
+    python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list