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

David Runge dvzrv at archlinux.org
Mon Sep 30 12:40:06 UTC 2019


    Date: Monday, September 30, 2019 @ 12:40:05
  Author: dvzrv
Revision: 512181

upgpkg: bslizr 1.2.0-1

Upgrading to 1.2.0. Removing full RELRO hotfixes (properly implemented upstream). Adding docs.

Modified:
  bslizr/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-30 12:39:38 UTC (rev 512180)
+++ PKGBUILD	2019-09-30 12:40:05 UTC (rev 512181)
@@ -2,7 +2,7 @@
 
 _name=BSlizr
 pkgname=bslizr
-pkgver=0.4
+pkgver=1.2.0
 pkgrel=1
 pkgdesc="LV2 audio effect plugin for sequenced slicing of stereo audio input signals"
 arch=('x86_64')
@@ -9,27 +9,25 @@
 url="https://github.com/sjaehn/bslizr"
 license=('GPL3')
 groups=('lv2-plugins' 'pro-audio')
-depends=('cairo')
+depends=('cairo' 'gcc-libs' 'glibc' 'libx11')
 makedepends=('lv2')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sjaehn/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('5c2db7ab5e601c010282bd15fd5b46ce826eb34e5bfd0b0415863a69ba001abc6ddbbf7dd371cd36fa3b9826bcf274eb2d885e9b19f792b4d2fd3b33278ee1a8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sjaehn/${pkgname}/archive/${pkgver}.tar.gz")
+sha512sums=('be82ed883ef27b40dfb2771e954ea42a89ee2a7205b8e9460e7121400139fe8a63aebbdadb2b22d22451401739d08493922ae48a78a440786940e57a4c982c99')
 
 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
+  make PREFIX='/usr'
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  # Makefile doesn't honor DESTDIR: https://github.com/sjaehn/BSlizr/issues/5
-  make INSTALL_DIR="$pkgdir/usr/lib/lv2" install
+  make DESTDIR="${pkgdir}" PREFIX='/usr' install
+  install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
   # remove useless license file
   find "${pkgdir}/usr/lib/" -type f -iname "*LICENSE*" -delete
 }



More information about the arch-commits mailing list