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

David Runge dvzrv at archlinux.org
Wed Feb 6 00:12:49 UTC 2019


    Date: Wednesday, February 6, 2019 @ 00:12:45
  Author: dvzrv
Revision: 429694

upgpkg: cmt 1.17-1

Upgrading to 1.17. Switching to https for source and url. Fixing Makefile for full RELRO.

Modified:
  cmt/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-05 23:44:51 UTC (rev 429693)
+++ PKGBUILD	2019-02-06 00:12:45 UTC (rev 429694)
@@ -3,25 +3,23 @@
 #Contributor: Robert Emil Berge <robert at rebi.no>
 
 pkgname=cmt
-pkgver=1.16
-pkgrel=8
+pkgver=1.17
+pkgrel=1
 pkgdesc="LADSPA plugins for use with software synthesis and recording packages on Linux"
 arch=('x86_64')
 license=('GPL2')
-url="http://www.ladspa.org/cmt/overview.html"
+url="https://www.ladspa.org/cmt/overview.html"
 depends=('gcc-libs')
 makedepends=('ladspa')
 groups=('ladspa-plugins' 'pro-audio')
-source=("http://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz")
-sha512sums=('be4aaa064183b6121b4ca8d7d2535cb9a3bcb557e3a2f22b45ec9775b0e296f70a9a7edf697b78095d6ef1564bb5459bb742649082ac724d1774c0790379af21')
+source=("https://www.ladspa.org/download/${pkgname}_${pkgver}.tgz")
+sha512sums=('7df31a44c41622785b569ef79bef91cba098fed89ca65dcb31b9fdd751caff863cf42eb7ca2ffab08e883fbcd040ab1c7290a96abf58e908be44ab803d672e26')
 
 prepare(){
-  mv -v ${pkgname} ${pkgname}-${pkgver}
+  mv -v ${pkgname}_${pkgver} ${pkgname}-${pkgver}
   cd ${pkgname}-${pkgver}
-  # fix CFLAGS
-  sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
-      -e 's|-Werror||g' \
-      -i src/makefile
+  # inserting CFLAGS and LDFLAGS for full RELRO
+  sed -e "s|-O2|${CFLAGS} ${LDFLAGS}|" -i src/Makefile
 }
 
 build() {
@@ -33,5 +31,6 @@
   cd ${pkgname}-${pkgver}
   install -vDm 755 plugins/cmt.so -t "${pkgdir}/usr/lib/ladspa/"
   # docs
-  install -vDm 644 {README,doc/*.html} -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 {README,doc/*.html} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }



More information about the arch-commits mailing list