Date: Saturday, September 1, 2018 @ 21:50:59
Author: dvzrv
Revision: 375983
upgpkg: zita-jclient 0.4.2-1
Upgrading to 0.4.2. Switching to correct license (GPL3). Fixing local call to
ldconfig. Fixing call to make install target.
Modified:
zita-jclient/trunk/PKGBUILD
--+
PKGBUILD | 23 ---
1 file changed, 12 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===
--- PKGBUILD2018-09-01 21:45:12 UTC (rev 375982)
+++ PKGBUILD2018-09-01 21:50:59 UTC (rev 375983)
@@ -1,31 +1,32 @@
# $Id$
# Maintainer: David Runge
pkgname=zita-jclient
-pkgver=0.4.0
-pkgrel=3
+pkgver=0.4.2
+pkgrel=1
pkgdesc="Create a Jack client with a few lines of C++"
arch=('x86_64')
url="https://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
-license=('GPL')
+license=('GPL3')
depends=('jack')
source=("https://kokkinizita.linuxaudio.org/linuxaudio/downloads/$pkgname-$pkgver.tar.bz2";)
-sha512sums=('2c23d9b9accc2458af4de2ff4ae2652534280b6911a15eb915eb71959d8df359cb284a6a837feb540a26c1d88e8839bee02025759a1180170bc66fe30fee20d9')
-validpgpkeys=()
+sha512sums=('c785e4fe01561dde7fb6bca985de0c5735fdad1666f6c37ff2a783360b5c6fbe30837088715fe20e21c81cd9396e237fca25c91e8bd18d401032a8ca6a8f06e5')
prepare() {
cd "$pkgname-$pkgver"
- # remove optimization and call to ldconfig
+ # remove optimization
+ # call ldconfig in local context
sed -e '/march=native/d' \
- -e '/ldconfig/d' \
- -i libs/Makefile
+ -e 's/ldconfig/& -N $(DESTDIR)\/$(LIBDIR)/' \
+ -i source/Makefile
}
build() {
- cd "$pkgname-$pkgver/libs"
+ cd "$pkgname-$pkgver/source"
make
}
package() {
- cd "$pkgname-$pkgver/libs"
- make DESTDIR="$pkgdir/" LIBDIR=lib PREFIX=/usr install
+ cd "$pkgname-$pkgver/source"
+ make DESTDIR="$pkgdir/" PREFIX=/usr SUFFIX="" install
+ install -vDm 644 ../{AUTHORS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
}