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

David Runge dvzrv at archlinux.org
Sun Aug 2 19:21:56 UTC 2020


    Date: Sunday, August 2, 2020 @ 19:21:56
  Author: dvzrv
Revision: 667847

upgpkg: tap-plugins 1.0.1-1: Upgrade to 1.0.1.

Add fix for Makefile to achieve full RELRO.
Update maintainer info.
Minor cleanups.

Modified:
  tap-plugins/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-02 19:14:24 UTC (rev 667846)
+++ PKGBUILD	2020-08-02 19:21:56 UTC (rev 667847)
@@ -1,10 +1,10 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: speps <speps at aur dot archlinux dot org>
 # Contributor: Ng Oon-Ee <ngoonee.talk at gmail.com>
 
 pkgname=tap-plugins
-pkgver=1.0.0
-pkgrel=4
+pkgver=1.0.1
+pkgrel=1
 pkgdesc="Tom's LADSPA Plugins"
 arch=('x86_64')
 url="http://tap-plugins.sourceforge.net/"
@@ -12,13 +12,16 @@
 groups=('ladspa-plugins' 'pro-audio')
 depends=('glibc')
 makedepends=('ladspa')
-source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('fc6c6bd394aa3bd6937180a548422de107a5be2ec06338dd107346fd65ceba2ada00835ab53d0491db5cd1744d94a33fe9a80079c9f1d0ca3ef2e127c3b5d549')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tomszilagyi/${pkgname}/archive/v${pkgver}.tar.gz")
+sha512sums=('25f72bba83a5a40d480bc9d4659b64096102281d02e43ad93d5064b0ef7972184db40162d1ef78fd783f431740a4c4d5e03160cdd5f43da3bc1570ff462c863a')
+b2sums=('2b8ac9a26197f5c980512d33daf4c604d7bb3046fb40e3826d559d4420921a0e124a5577d53d0896bc92111f69765f714d5f55a9da60546e2e6f29e5c851b2a5')
 
 prepare() {
   cd "${pkgname}-${pkgver}"
-  # correct install path
-  sed 's|/usr/local/|$(DESTDIR)/usr/|' -i Makefile
+  # correct install path and add external LDFLAGS to achieve full RELRO
+  sed -e 's|/usr/local/|$(DESTDIR)/usr/|' \
+      -e 's/LDFLAGS = /LDFLAGS += /g' \
+      -i Makefile
 }
 
 build() {
@@ -29,5 +32,5 @@
 package() {
   cd "${pkgname}-${pkgver}"
   make DESTDIR="$pkgdir/" install
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" -vDm 644 {CREDITS,README}
+  install -vDm 644 {CREDITS,README} -t "${pkgdir}/usr/share/doc/${pkgname}"
 }


More information about the arch-commits mailing list