git » suil.git » commit 17030ac

Moving lv2 to makedepends. Switching back to python2 for waf scripts.

author David Runge
2018-07-26 10:18:25 UTC
committer David Runge
2018-07-26 10:18:25 UTC
parent 0863c543a29ffafb050c7ddb283498f0a7f2b893

Moving lv2 to makedepends. Switching back to python2 for waf scripts.

PKGBUILD +8 -9

diff --git a/PKGBUILD b/PKGBUILD
index 5acc486..89c60cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,15 @@
 # Maintainer: David Runge <dave@sleepmap.de>
-# Maintainer: Ray Rashif <schiv@archlinux.org>
+# Contributor: Ray Rashif <schiv@archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=suil
 pkgver=0.10.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
 arch=('x86_64')
 url="https://drobilla.net/software/suil/"
 license=('custom:ISC')
-depends=('lv2')
-makedepends=('python' 'qt4' 'qt5-base' 'gtk2' 'gtk3')
+makedepends=('gtk2' 'gtk3' 'lv2' 'python2' 'qt4' 'qt5-base')
 optdepends=('qt4: Qt4 UI wrapping support'
             'qt5-base: Qt5 UI wrapping support'
             'gtk2: GTK+ 2.x UI wrapping support'
@@ -28,19 +27,19 @@ prepare() {
 
 build() {
   cd "${pkgname}-${pkgver}"
-  python waf configure --prefix=/usr
-  python waf build
+  python2 waf configure --prefix=/usr
+  python2 waf build
 }
 
 package() {
   cd "${pkgname}-${pkgver}"
-  python waf install --destdir="${pkgdir}"
+  python2 waf install --destdir="${pkgdir}"
   # license
-  install -vDm644 COPYING \
+  install -vDm 644 COPYING \
     "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
   # docs
   install -t "$pkgdir/usr/share/doc/${pkgname}" \
-    -vDm644 {AUTHORS,NEWS,PACKAGING,README}
+    -vDm 644 {AUTHORS,NEWS,PACKAGING,README}
 }
 
 # vim:set ts=2 sw=2 et: