[arch-commits] Commit in libmemcache/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Wed Sep 10 17:52:50 UTC 2008
Date: Wednesday, September 10, 2008 @ 13:52:50
Author: ronald
Revision: 12126
fix license
Modified:
libmemcache/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-09-10 17:50:52 UTC (rev 12125)
+++ PKGBUILD 2008-09-10 17:52:50 UTC (rev 12126)
@@ -9,11 +9,17 @@
depends=('glibc')
source=(http://people.freebsd.org/~seanc/libmemcache/$pkgname-$pkgver.tar.bz2)
md5sums=('402c957cd71538c07a263542eeb513d1')
+options=(!libtool)
+arch=('i686' 'x86_64')
+license=('custom')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
- find $startdir/pkg -name '*.la' -exec rm {} \;
+
+# install custom license
+install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING
}
More information about the arch-commits
mailing list