[arch-commits] Commit in cmt/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Mon May 21 20:04:23 UTC 2018


    Date: Monday, May 21, 2018 @ 20:04:20
  Author: dvzrv
Revision: 326614

archrelease: copy trunk to community-x86_64

Added:
  cmt/repos/community-x86_64/PKGBUILD
    (from rev 326613, cmt/trunk/PKGBUILD)
Deleted:
  cmt/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 38 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-21 20:04:08 UTC (rev 326613)
+++ PKGBUILD	2018-05-21 20:04:20 UTC (rev 326614)
@@ -1,30 +0,0 @@
-# $Id$
-#Maintainer: Damir Perisa <damir.perisa at bluewin.ch>
-#Contributor: Robert Emil Berge <robert at rebi.no>
-
-pkgname=cmt
-pkgver=1.16
-pkgrel=6
-pkgdesc="CMT for LADSPA"
-arch=('x86_64')
-license=('GPL')
-url="http://www.ladspa.org"
-depends=('ladspa' 'gcc-libs')
-groups=('ladspa-plugins')
-#source=("http://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz")
-source=(http://pkgs.fedoraproject.org/lookaside/extras/ladspa-cmt-plugins/cmt_src_1.16.tgz/15a875e5aaf79c209c223babfb41cb1c/cmt_src_1.16.tgz)
-md5sums=('15a875e5aaf79c209c223babfb41cb1c')
-
-build() {
-  cd "${srcdir}/${pkgname}/src"
-  sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
-      -e 's|-Werror||g' \
-      -i makefile
-  make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}/src"
-  install -m755 -d "${pkgdir}/usr/lib/ladspa"
-  install -m755 ../plugins/cmt.so "${pkgdir}/usr/lib/ladspa/"
-}

Copied: cmt/repos/community-x86_64/PKGBUILD (from rev 326613, cmt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-21 20:04:20 UTC (rev 326614)
@@ -0,0 +1,38 @@
+# $Id$
+#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.16
+pkgrel=7
+pkgdesc="A collection of 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"
+depends=('gcc-libs')
+makedepends=('ladspa')
+groups=('ladspa-plugins' 'pro-audio')
+source=("http://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz")
+sha512sums=('be4aaa064183b6121b4ca8d7d2535cb9a3bcb557e3a2f22b45ec9775b0e296f70a9a7edf697b78095d6ef1564bb5459bb742649082ac724d1774c0790379af21')
+
+prepare(){
+  mv -v ${pkgname} ${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
+  # fix CFLAGS
+  sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
+      -e 's|-Werror||g' \
+      -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