summaryrefslogtreecommitdiff
path: root/extra/giblib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/giblib/PKGBUILD')
-rw-r--r--extra/giblib/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/giblib/PKGBUILD b/extra/giblib/PKGBUILD
new file mode 100644
index 000000000..611d84137
--- /dev/null
+++ b/extra/giblib/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 68041 2010-02-10 15:14:45Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=giblib
+pkgver=1.2.4
+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')
+options=('!libtool')
+source=(ftp://ftp.archlinux.org/other/giblib/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('ff61760ef73421c5f02d2f6c8d3ac913')
+
+build() {
+ 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
+}