summaryrefslogtreecommitdiff
path: root/extra/cmt
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
commit1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch)
tree4f22b6f4f4737987b4eec85fbc027684f209df2e /extra/cmt
parent1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff)
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'extra/cmt')
-rw-r--r--extra/cmt/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/cmt/PKGBUILD b/extra/cmt/PKGBUILD
index 764b691b5..df73556ce 100644
--- a/extra/cmt/PKGBUILD
+++ b/extra/cmt/PKGBUILD
@@ -1,25 +1,29 @@
-# $Id: PKGBUILD 49841 2009-08-16 18:10:08Z jgc $
+# $Id: PKGBUILD 137734 2011-09-10 14:32:08Z pierre $
#Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
#Contributor: Robert Emil Berge <robert@rebi.no>
pkgname=cmt
pkgver=1.16
-pkgrel=2
+pkgrel=3
pkgdesc="CMT for LADSPA"
-arch=(i686 x86_64)
+arch=('i686' '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://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz")
md5sums=('15a875e5aaf79c209c223babfb41cb1c')
build() {
cd "${srcdir}/${pkgname}/src"
sed -e "/^CFLAGS/ s/-O3/${CFLAGS}/" \
-e 's|-Werror||g' \
- -i makefile || return 1
- make || return 1
+ -i makefile
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}/src"
install -m755 -d "${pkgdir}/usr/lib/ladspa"
- install -m755 ../plugins/cmt.so "${pkgdir}/usr/lib/ladspa/" || return 1
+ install -m755 ../plugins/cmt.so "${pkgdir}/usr/lib/ladspa/"
}