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

David Runge dvzrv at archlinux.org
Mon Aug 26 18:41:29 UTC 2019


    Date: Monday, August 26, 2019 @ 18:41:28
  Author: dvzrv
Revision: 502151

upgpkg: ams-lv2 1.2.2-2

Switching to waf in makedepends and removing vendored waflib in prepare().

Modified:
  ams-lv2/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-26 18:40:11 UTC (rev 502150)
+++ PKGBUILD	2019-08-26 18:41:28 UTC (rev 502151)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dave at sleepmap.de>
 pkgname=ams-lv2
 pkgver=1.2.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A port of the internal modules found in Alsa Modular Synth"
 arch=('x86_64')
 url="https://github.com/blablack/ams-lv2"
@@ -8,17 +8,23 @@
 license=('GPL2')
 groups=('lv2-plugins' 'pro-audio')
 depends=('fftw' 'gtkmm')
-makedepends=('lv2' 'lvtk' 'python')
+makedepends=('lv2' 'lvtk' 'waf')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/blablack/${pkgname}/archive/v${pkgver}.tar.gz")
 sha512sums=('6c1c6f3179a851f67e162d225a761c38678159d9f178d9bfa3991b84b84ea557f5a44882ea710626204f158c40ae18f0e87f24faec0a0bd6aa64e18eeb81c45f')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  # remove outdated waflib
+  rm -rv waflib
+}
+
 build() {
   cd "$pkgname-$pkgver"
-  python waf configure --prefix=/usr
-  python waf
+  waf configure --prefix=/usr
+  waf
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  python waf install --destdir="$pkgdir/"
+  waf install --destdir="$pkgdir/"
 }


More information about the arch-commits mailing list