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

Ronald van Haren ronald at archlinux.org
Mon Jul 7 18:19:37 EDT 2008


    Date: Monday, July 7, 2008 @ 18:19:37
  Author: ronald
Revision: 4530

fix license

Modified:
  giblib/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-07 22:13:47 UTC (rev 4529)
+++ PKGBUILD	2008-07-07 22:19:37 UTC (rev 4530)
@@ -6,9 +6,12 @@
 pkgver=1.2.4
 pkgrel=3
 pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2"
+arch=('i686' 'x86_64')
 depends=('imlib2' 'libxext' 'freetype2')
 source=(http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz)
 url="http://linuxbrit.co.uk/giblib/"
+options=(!libtool)
+license=('custom')
 md5sums=('c810ef5389baf24882a1caca2954385e')
 
 build() {
@@ -16,5 +19,8 @@
 ./configure --prefix=/usr
 make || return 1
 make prefix=$startdir/pkg/usr 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