summaryrefslogtreecommitdiff
path: root/extra/cmt/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/cmt/PKGBUILD')
-rw-r--r--extra/cmt/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/cmt/PKGBUILD b/extra/cmt/PKGBUILD
new file mode 100644
index 000000000..4e0bcd62c
--- /dev/null
+++ b/extra/cmt/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id: PKGBUILD 49841 2009-08-16 18:10:08Z jgc $
+#Maintainer: Damir Perisa <damir.perisa@bluewin.ch>
+#Contributor: Robert Emil Berge <robert@rebi.no>
+
+pkgname=cmt
+pkgver=1.16
+pkgrel=2
+pkgdesc="CMT for LADSPA"
+arch=(i686 x86_64 'mips64el')
+license=('GPL')
+url="http://www.ladspa.org"
+depends=('ladspa' 'gcc-libs')
+groups=('ladspa-plugins')
+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
+ install -m755 -d "${pkgdir}/usr/lib/ladspa"
+ install -m755 ../plugins/cmt.so "${pkgdir}/usr/lib/ladspa/" || return 1
+}