[arch-commits] Commit in cmt/repos (extra-i686 extra-i686/PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Aug 16 21:34:12 UTC 2009
Date: Sunday, August 16, 2009 @ 17:34:12
Author: jgc
Revision: 49922
Merged revisions 356,49840 via svnmerge from
svn+ssh://svn.archlinux.org/srv/svn-packages/cmt/trunk
........
r356 | aaron | 2008-04-19 00:56:27 +0200 (Sat, 19 Apr 2008) | 1 line
Added svn:keywords to all PKGBUILDs
........
r49840 | jgc | 2009-08-16 20:09:27 +0200 (Sun, 16 Aug 2009) | 2 lines
upgpkg: cmt 1.16-2
Rebuild to get rid of .FILELIST
........
Modified:
cmt/repos/extra-i686/ (properties)
cmt/repos/extra-i686/PKGBUILD
----------+
PKGBUILD | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)
Property changes on: cmt/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
- /cmt/trunk:1
+ /cmt/trunk:1-49920
Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2009-08-16 21:33:58 UTC (rev 49921)
+++ extra-i686/PKGBUILD 2009-08-16 21:34:12 UTC (rev 49922)
@@ -4,25 +4,22 @@
pkgname=cmt
pkgver=1.16
-pkgrel=1
+pkgrel=2
pkgdesc="CMT for LADSPA"
arch=(i686 x86_64)
license=('GPL')
url="http://www.ladspa.org"
depends=('ladspa' 'gcc-libs')
-source=(http://www.ladspa.org/download/$pkgname\_src_$pkgver.tgz)
groups=('ladspa-plugins')
+source=(http://www.ladspa.org/download/${pkgname}_src_${pkgver}.tgz)
+md5sums=('15a875e5aaf79c209c223babfb41cb1c')
build() {
- cd $startdir/src/$pkgname/src
- if [ "$CARCH" = "x86_64" ]; then
- # from Gentoo
- sed -i -e "/^CFLAGS/ s/-O3/${CFLAGS}/" makefile
- # gcc-4 bails
- sed -i -e 's|-Werror||g' makefile
- fi
- make
- mkdir -p $startdir/pkg/usr/lib/ladspa
- cp $startdir/src/$pkgname/plugins/cmt.so $startdir/pkg/usr/lib/ladspa
+ 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
}
-md5sums=('15a875e5aaf79c209c223babfb41cb1c')
More information about the arch-commits
mailing list