git » suil.git » commit 501673c

Upgrading to 0.10.0. Switching to https for url and source.

author David Runge
2018-02-07 15:15:16 UTC
committer David Runge
2018-02-07 15:15:16 UTC
parent 38bfb51828607395de21aff07b9eff3c9e568281

Upgrading to 0.10.0. Switching to https for url and source.

Adding pgp key for David Robillard. Moving removal of ldconfig call to prepare().
Adding more backends (in make and optdepends). Switching to python for waf.
Installing various docs. Minor fixes.

PKGBUILD +30 -22

diff --git a/PKGBUILD b/PKGBUILD
index 7d12b56..2eda1e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,38 +1,46 @@
+# Maintainer: David Runge <dave@sleepmap.de>
 # Maintainer: Ray Rashif <schiv@archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=suil
-pkgver=0.8.2
-pkgrel=3
+pkgver=0.10.0
+pkgrel=1
 pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
 arch=('x86_64')
-url="http://drobilla.net/software/suil/"
+url="https://drobilla.net/software/suil/"
 license=('custom:ISC')
-depends=('lv2>=1.10.0')
-makedepends=('python2' 'qt4' 'gtk2')
-optdepends=('qt4: Qt 4.x UI wrapping support'
-            'gtk2: GTK+ 2.x UI wrapping support')
-source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
-md5sums=('1b06947b1fc028f9ffcbc16d30065aa5')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  # remove ldconfig --speps
+depends=('lv2')
+makedepends=('python' 'qt4' 'qt5-base' 'gtk2' 'gtk3')
+optdepends=('qt4: Qt4 UI wrapping support'
+            'qt5-base: Qt5 UI wrapping support'
+            'gtk2: GTK+ 2.x UI wrapping support'
+            'gtk3: GTK+ 3.x UI wrapping support')
+source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.sig})
+sha512sums=('721b73d987c1712e82493386e5d71957002c8a713595fce4372f1a5eb306c64a559db1ca794cec96295f72e22a9c0e9193f9a68b7f5846f2db45ce16b253fbea'
+            'SKIP')
+validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # remove local call to ldconfig
   sed -i "/ldconfig/d" wscript
+}
 
-  python2 waf configure --prefix=/usr
-  python2 waf build $MAKEFLAGS
+build() {
+  cd "${pkgname}-${pkgver}"
+  python waf configure --prefix=/usr
+  python waf build
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  python2 waf install --destdir="$pkgdir"
-
+  cd "${pkgname}-${pkgver}"
+  python waf install --destdir="${pkgdir}"
   # license
-  install -Dm644 COPYING \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  install -vDm644 COPYING \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # docs
+  install -t "$pkgdir/usr/share/doc/${pkgname}" \
+    -vDm644 {AUTHORS,NEWS,PACKAGING,README}
 }
 
 # vim:set ts=2 sw=2 et: