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

David Runge dvzrv at gemini.archlinux.org
Tue Jun 7 18:27:31 UTC 2022


    Date: Tuesday, June 7, 2022 @ 18:27:31
  Author: dvzrv
Revision: 1228547

upgpkg: suil 0.10.12-1: Upgrade to 0.10.12.

Remove unnecessary quotes and curly braces.
Export LINKFLAGS as waf otherwise overlinks everything.
Add debug package.

Modified:
  suil/trunk/PKGBUILD

----------+
 PKGBUILD |   56 +++++++++++++++++++++++++++++---------------------------
 1 file changed, 29 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-07 18:22:32 UTC (rev 1228546)
+++ PKGBUILD	2022-06-07 18:27:31 UTC (rev 1228547)
@@ -3,8 +3,8 @@
 # Contributor: speps <speps at aur dot archlinux dot org>
 
 pkgname=suil
-pkgver=0.10.10
-pkgrel=2
+pkgver=0.10.12
+pkgrel=1
 pkgdesc="A lightweight C library for loading and wrapping LV2 plugin UIs"
 arch=(x86_64)
 url="https://drobilla.net/software/suil/"
@@ -11,30 +11,33 @@
 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'
-            'gcc-libs: support for wrapping GTK2 and X11 in Qt5 and Qt5 in GTK2/3'
-            'gdk-pixbuf2: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5'
-            'glib2: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5'
-            'gtk2: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5'
-            'gtk3: support for wrapping X11 and Qt5 in GTK3'
-            'libfreetype.so: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5'
-            'libx11: support for wrapping X11 directly and in GTK2/3'
-            'qt5-base: support for wrapping X11 in Qt5, Qt5 in GTK2/3 and GTK2 in Qt5'
-            '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')
+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'
+  'gcc-libs: support for wrapping GTK2 and X11 in Qt5 and Qt5 in GTK2/3'
+  'gdk-pixbuf2: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5'
+  'glib2: support for wrapping X11 and Qt5 in GTK2/3 and GTK2 in Qt5'
+  'gtk2: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5'
+  'gtk3: support for wrapping X11 and Qt5 in GTK3'
+  'libfreetype.so: support for wrapping X11 and Qt5 in GTK2 and GTK2 in Qt5'
+  'libx11: support for wrapping X11 directly and in GTK2/3'
+  'qt5-base: support for wrapping X11 in Qt5, Qt5 in GTK2/3 and GTK2 in Qt5'
+  '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)
-source=("https://download.drobilla.net/${pkgname}-${pkgver}.tar.bz2"{,.asc})
-sha512sums=('e442022096150b2f71d65bbd625e2e262cb3e3865c57f5a30f0472dac8ef90ad2fbbf67235823055019017e3751b46330f6e98b8e1745e5845eb02c4d2a4fc21'
+options=(debug)
+source=(https://download.drobilla.net/$pkgname-$pkgver.tar.bz2{,.sig})
+sha512sums=('f2b9ca36cc35d6b51c6e4ae144d61b1ba5e3b51113cca48d0535f6346ff918bdc7e299f0036ea1431c0ef59b1a02f1f4086a95db552d0a06bffb54567ab4a278'
             'SKIP')
-b2sums=('03d1ac744fa3fa487bbf44d6e006f6cfcc73dc4aa6eb79d1ac5d024dc9493e3e426ff6054705d1de514286b2d43f5a1448bfcf7e573fa95d61c41790ca06c405'
+b2sums=('f70bbc18f5fa1a9263fe5c0a9241e966e124a855273bc6fe863375aef8505193e49b67d3b9d7ff6d4e4cf50cb6c2cb2b2d53dccab06005f82725e024cc8347d5'
         'SKIP')
 validpgpkeys=('907D226E7E13FA337F014A083672782A9BF368F3') # David Robillard <d at drobilla.net>
 
 prepare() {
-  cd "${pkgname}-${pkgver}"
+  cd $pkgname-$pkgver
   # remove local call to ldconfig
   sed -i "/ldconfig/d" wscript
   # let wscript(s) find the custom waf scripts
@@ -51,18 +54,17 @@
 }
 
 build() {
-  cd "${pkgname}-${pkgver}"
   export LINKFLAGS="$LDFLAGS"
+
+  cd $pkgname-$pkgver
   waf configure --prefix=/usr
   waf build
 }
 
 package() {
-  cd "${pkgname}-${pkgver}"
-  waf install --destdir="${pkgdir}"
-  # license
-  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}"
+  cd $pkgname-$pkgver
+  waf install --destdir="$pkgdir"
+  install -vDm 644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname/"
+  install -vDm 644 {AUTHORS,NEWS,PACKAGING,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
 }
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list