summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rw-r--r--abs/core/giblib/PKGBUILD32
1 files changed, 19 insertions, 13 deletions
diff --git a/abs/core/giblib/PKGBUILD b/abs/core/giblib/PKGBUILD
index 413711c..0771c30 100644
--- a/abs/core/giblib/PKGBUILD
+++ b/abs/core/giblib/PKGBUILD
@@ -1,20 +1,26 @@
-# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
-# Maintainer: arjan <arjan@archlinux.org>
+# $Id: PKGBUILD 68040 2010-02-10 15:13:54Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=giblib
pkgver=1.2.4
-pkgrel=3
-pkgdesc="Giblib is a library that feh uses as a wrapper to imlib2"
+pkgrel=4
+pkgdesc="A library that feh uses as a wrapper to imlib2"
+arch=('i686' 'x86_64')
+url="http://freshmeat.net/projects/giblib/"
+license=('MIT')
depends=('imlib2' 'libxext' 'freetype2')
-#source=(http://linuxbrit.co.uk/downloads/$pkgname-$pkgver.tar.gz)
-source=(http://ftp.gva.es/mirror/debian/pool/main/g/giblib/giblib_1.2.4.orig.tar.gz)
-url="http://linuxbrit.co.uk/giblib/"
- arch=('i686')
+options=('!libtool')
+source=(ftp://ftp.archlinux.org/other/giblib/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('ff61760ef73421c5f02d2f6c8d3ac913')
+
build() {
-cd $startdir/src/$pkgname-$pkgver.orig
-./configure --prefix=/usr
-make || return 1
-make prefix=$startdir/pkg/usr install
-find $startdir/pkg -name '*.la' -exec rm {} \;
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr || return 1
+ make || return 1
+ make DESTDIR="${pkgdir}" docsdir=/usr/share/doc/giblib install || return 1
+
+ # Install custom license
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
}