summaryrefslogtreecommitdiff
path: root/extra/imlib/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
commitda0a0d88caa1bf934ebf314ef86e15928dbb027b (patch)
treeb7c57ac9667de10c72390e0d81654fffbe47c42d /extra/imlib/PKGBUILD
parentffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff)
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'extra/imlib/PKGBUILD')
-rw-r--r--extra/imlib/PKGBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/extra/imlib/PKGBUILD b/extra/imlib/PKGBUILD
index dda349ac6..6b11188fb 100644
--- a/extra/imlib/PKGBUILD
+++ b/extra/imlib/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 148786 2012-02-05 11:50:28Z ibiru $
+# $Id: PKGBUILD 184394 2013-05-06 19:37:57Z foutrelis $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=imlib
pkgver=1.9.15
-pkgrel=11
+pkgrel=12
pkgdesc="General image handling library for X11 and Gtk"
arch=('i686' 'x86_64')
url="http://freshmeat.net/projects/imlib/"
@@ -19,8 +19,8 @@ sha1sums=('c9a732a354fbb3c7e1a426e5d19fc92d73f8f720'
'af54cb1ee0c8c6122b277284ebdd1022e31df3b5'
'33c3aaa43eb624f2a6ab0406285a8515903333e3')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+prepare() {
+ cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/debian-bug448360.patch"
patch -p1 -i "${srcdir}/CAN-2004-1026.patch"
patch -p0 -i "${srcdir}/aclocal-fixes.patch"
@@ -28,6 +28,10 @@ build() {
sed '/AC_PATH_XTRA/d' -i configure.in
libtoolize --force
cp /usr/bin/libtool .
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
autoreconf --force --install
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --enable-shm --disable-static
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -35,6 +39,6 @@ build() {
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
}