[arch-commits] Commit in cmt/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:29:57 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:29:57
  Author: felixonmars
Revision: 659274

archrelease: copy trunk to community-staging-x86_64

Added:
  cmt/repos/community-staging-x86_64/
  cmt/repos/community-staging-x86_64/PKGBUILD
    (from rev 659272, cmt/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: cmt/repos/community-staging-x86_64/PKGBUILD (from rev 659272, cmt/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:29:57 UTC (rev 659274)
@@ -0,0 +1,36 @@
+#Maintainer: David Runge <dave at sleepmap.de>
+#Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+#Contributor: Robert Emil Berge <robert at rebi.no>
+
+pkgname=cmt
+pkgver=1.17
+pkgrel=2
+pkgdesc="LADSPA plugins for use with software synthesis and recording packages on Linux"
+arch=('x86_64')
+license=('GPL2')
+url="https://www.ladspa.org/cmt/overview.html"
+depends=('gcc-libs')
+makedepends=('ladspa')
+groups=('ladspa-plugins' 'pro-audio')
+source=("https://www.ladspa.org/download/${pkgname}_${pkgver}.tgz")
+sha512sums=('7df31a44c41622785b569ef79bef91cba098fed89ca65dcb31b9fdd751caff863cf42eb7ca2ffab08e883fbcd040ab1c7290a96abf58e908be44ab803d672e26')
+
+prepare(){
+  mv -v ${pkgname}_${pkgver} ${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
+  # inserting CFLAGS and LDFLAGS for full RELRO
+  sed -e "s|-O2|${CFLAGS} ${LDFLAGS}|" -i src/Makefile
+}
+
+build() {
+  cd ${pkgname}-${pkgver}/src
+  make
+}
+
+package() {
+  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}/"
+}



More information about the arch-commits mailing list