summaryrefslogtreecommitdiff
path: root/extra/giblib
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
committerroot <root@rshg054.dnsready.net>2011-09-11 23:14:33 +0000
commit1d2f1a1e70011a41d17f2f16d5e90c491ccdabb8 (patch)
tree4f22b6f4f4737987b4eec85fbc027684f209df2e /extra/giblib
parent1dc1efa50ce9926a6ed832bda2ebe3319485ac09 (diff)
Sun Sep 11 23:14:33 UTC 2011
Diffstat (limited to 'extra/giblib')
-rw-r--r--extra/giblib/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/extra/giblib/PKGBUILD b/extra/giblib/PKGBUILD
index 611d84137..7deebc84e 100644
--- a/extra/giblib/PKGBUILD
+++ b/extra/giblib/PKGBUILD
@@ -1,26 +1,30 @@
-# $Id: PKGBUILD 68041 2010-02-10 15:14:45Z giovanni $
+# $Id: PKGBUILD 137679 2011-09-10 11:58:36Z pierre $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=giblib
pkgver=1.2.4
-pkgrel=4
+pkgrel=5
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')
+source=("http://linuxbrit.co.uk/downloads/${pkgname}-${pkgver}.tar.gz")
+md5sums=('c810ef5389baf24882a1caca2954385e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR="${pkgdir}" docsdir=/usr/share/doc/giblib install || return 1
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" docsdir=/usr/share/doc/giblib install
# Install custom license
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}