[arch-commits] Commit in zita-dpl1/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Fri Jul 20 15:45:30 UTC 2018
Date: Friday, July 20, 2018 @ 15:45:29
Author: dvzrv
Revision: 362617
upgpkg: zita-dpl1 0.1.0-5
Fixing call to freetype-config with call to pkgconf. Minor fixes.
Modified:
zita-dpl1/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-20 14:37:40 UTC (rev 362616)
+++ PKGBUILD 2018-07-20 15:45:29 UTC (rev 362617)
@@ -1,7 +1,8 @@
+# $Id$
# Maintainer: David Runge <dave at sleepmap.de>
pkgname=zita-dpl1
pkgver=0.1.0
-pkgrel=4
+pkgrel=5
pkgdesc="A look-ahead digital peak level limiter"
arch=('x86_64')
url="https://kokkinizita.linuxaudio.org/linuxaudio/"
@@ -16,8 +17,9 @@
# split out custom license
head -n21 dplimit1.h > LICENSE
# strip -march=native
- sed -i '/native/d' Makefile
-
+ sed -e '/native/d' \
+ -e 's/freetype-config\ --cflags/pkgconf\ --cflags\ freetype2/' \
+ -i Makefile
}
build() {
@@ -29,10 +31,10 @@
cd "${pkgname}-${pkgver}/source"
make PREFIX=/usr DESTDIR="$pkgdir/" install
# custom LICENSE
- install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
# docs
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm644 ../doc/* \
- -vDm644 ../{AUTHORS,README}
+ -vDm 644 ../doc/* \
+ -vDm 644 ../{AUTHORS,README}
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list