Date: Saturday, November 20, 2021 @ 11:43:28
  Author: dvzrv
Revision: 1052842

upgpkg: suil 0.10.10-2: Rebuild to add lv2 to depends.

The lv2 package is required according to pkgconfig.
Simplify quoting in the file.
Add LINKFLAGS environment variable to supply waf with LDFLAGS to prevent
overlinking.

Modified:
  suil/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-11-20 11:43:27 UTC (rev 1052841)
+++ PKGBUILD    2021-11-20 11:43:28 UTC (rev 1052842)
@@ -4,13 +4,13 @@
 
 pkgname=suil
 pkgver=0.10.10
-pkgrel=1
+pkgrel=2
 pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
-arch=('x86_64')
+arch=(x86_64)
 url="https://drobilla.net/software/suil/";
-license=('custom:ISC')
-depends=('glibc')
-makedepends=('gtk2' 'gtk3' 'lv2' 'python' 'qt5-base' 'qt5-x11extras' 'waf')
+license=(ISC)
+depends=(glibc lv2)
+makedepends=(gtk2 gtk3 python qt5-base qt5-x11extras waf)
 optdepends=('atk: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5'
             'cairo: support for wrapping X11 and Qt5 in GTK2/3'
             'fontconfig: support for wrapping X11 and Qt5 in GTK2 and GTK2 in 
Qt5'
@@ -25,7 +25,7 @@
             'qt5-x11extras: support for wrapping X11 in Qt5'
             'pango: support for wrapping X11 in GTK2/3, Qt5 in GTK2/3 and GTK2 
in Qt5'
             'zlib: support for wrapping X11 in GTK3 and Qt5 in GTK3')
-provides=('libsuil-0.so')
+provides=(libsuil-0.so)
 source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.asc})
 
sha512sums=('e442022096150b2f71d65bbd625e2e262cb3e3865c57f5a30f0472dac8ef90ad2fbbf67235823055019017e3751b46330f6e98b8e1745e5845eb02c4d2a4fc21'
             'SKIP')
@@ -52,6 +52,7 @@
 
 build() {
   cd "${pkgname}-${pkgver}"
+  export LINKFLAGS="$LDFLAGS"
   waf configure --prefix=/usr
   waf build
 }
@@ -60,10 +61,8 @@
   cd "${pkgname}-${pkgver}"
   waf install --destdir="${pkgdir}"
   # license
-  install -vDm 644 COPYING \
-    -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
   # docs
-  install -vDm 644 {AUTHORS,NEWS,PACKAGING,README.md} \
-    -t "$pkgdir/usr/share/doc/${pkgname}"
+  install -vDm 644 {AUTHORS,NEWS,PACKAGING,README.md} -t 
"$pkgdir/usr/share/doc/${pkgname}"
 }
 # vim:set ts=2 sw=2 et:

Reply via email to