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

David Runge dvzrv at archlinux.org
Fri Jul 20 20:05:36 UTC 2018


    Date: Friday, July 20, 2018 @ 20:05:35
  Author: dvzrv
Revision: 362631

upgpkg: zita-rev1 0.2.1-4

Fixing call to freetype-config with call to pkgconf. Minor fixes.

Modified:
  zita-rev1/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-20 19:30:21 UTC (rev 362630)
+++ PKGBUILD	2018-07-20 20:05:35 UTC (rev 362631)
@@ -1,7 +1,8 @@
+# $Id$
 # Maintainer: David Runge <dave at sleepmap.de>
 pkgname=zita-rev1
 pkgver=0.2.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A reworked jack version of the reverb originally developed for Aeolus."
 arch=('x86_64')
 url="https://kokkinizita.linuxaudio.org/linuxaudio/zita-rev1-doc/quickguide.html"
@@ -14,7 +15,9 @@
 prepare() {
   cd "${pkgname}-${pkgver}/source"
   # strip march=native
-  sed -i '/native/d' Makefile
+  sed -e '/native/d' \
+      -e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
+      -i Makefile
 }
 
 build() {
@@ -24,9 +27,9 @@
 
 package() {
   cd "${pkgname}-${pkgver}/source"
-  make DESTDIR="$pkgdir/" PREFIX=/usr install
+  make DESTDIR="${pkgdir}/" PREFIX=/usr install
   # docs
-  install -t "$pkgdir/usr/share/doc/$pkgname" \
-    -vDm644 ../{AUTHORS,README,doc/*}
+  install -t "${pkgdir}/usr/share/doc/$pkgname" \
+    -vDm 644 ../{AUTHORS,README,doc/*}
 }
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list