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

Pierre Schmitz pierre at archlinux.org
Sat Sep 10 14:31:38 UTC 2011


    Date: Saturday, September 10, 2011 @ 10:31:38
  Author: pierre
Revision: 137733

upgpkg: cmt 1.16-3

rebuild old package

Modified:
  cmt/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-10 14:29:41 UTC (rev 137732)
+++ PKGBUILD	2011-09-10 14:31:38 UTC (rev 137733)
@@ -4,22 +4,26 @@
 
 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/"
 }




More information about the arch-commits mailing list