[arch-commits] Commit in bslizr/repos (community-x86_64 community-x86_64/PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Jun 24 22:12:23 UTC 2019
Date: Monday, June 24, 2019 @ 22:12:22
Author: dvzrv
Revision: 483700
archrelease: copy trunk to community-x86_64
Added:
bslizr/repos/community-x86_64/
bslizr/repos/community-x86_64/PKGBUILD
(from rev 483699, bslizr/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: bslizr/repos/community-x86_64/PKGBUILD (from rev 483699, bslizr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-06-24 22:12:22 UTC (rev 483700)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+
+_name=BSlizr
+pkgname=bslizr
+pkgver=0.4
+pkgrel=1
+pkgdesc="LV2 audio effect plugin for sequenced slicing of stereo audio input signals"
+arch=('x86_64')
+url="https://github.com/sjaehn/bslizr"
+license=('GPL3')
+groups=('lv2-plugins' 'pro-audio')
+depends=('cairo')
+makedepends=('lv2')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sjaehn/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('5c2db7ab5e601c010282bd15fd5b46ce826eb34e5bfd0b0415863a69ba001abc6ddbbf7dd371cd36fa3b9826bcf274eb2d885e9b19f792b4d2fd3b33278ee1a8')
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+ # achieve full RELRO: https://github.com/sjaehn/BSlizr/issues/6
+ sed -e "/CC)/ s/$/${LDFLAGS}/g" -i makefile
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ # Makefile doesn't honor DESTDIR: https://github.com/sjaehn/BSlizr/issues/5
+ make INSTALL_DIR="$pkgdir/usr/lib/lv2" install
+ # remove useless license file
+ find "${pkgdir}/usr/lib/" -type f -iname "*LICENSE*" -delete
+}
More information about the arch-commits
mailing list