summaryrefslogtreecommitdiff
path: root/community/gdk-pixbuf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gdk-pixbuf/PKGBUILD')
-rw-r--r--community/gdk-pixbuf/PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/community/gdk-pixbuf/PKGBUILD b/community/gdk-pixbuf/PKGBUILD
index a33ce9a07..0c5d850ab 100644
--- a/community/gdk-pixbuf/PKGBUILD
+++ b/community/gdk-pixbuf/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 66703 2012-02-27 17:09:51Z ibiru $
+# $Id: PKGBUILD 90033 2013-05-06 19:37:14Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=gdk-pixbuf
pkgver=0.22.0
-pkgrel=9.2
+pkgrel=11
pkgdesc="Image loading and manipulation library"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.gtk.org/"
@@ -34,11 +34,18 @@ build() {
patch -Np1 -i ${srcdir}/gdk-pixbuf-0.22.0-loaders.patch
patch -Np0 -i ${srcdir}/gdk-pixbuf-0.22.0.patch
patch -Np1 -i ${srcdir}/libpng15.patch
- sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -e '/AM_PROG_CC_STDC/d' configure.in
+ sed -i \
+ -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|' \
+ -e 's|AM_PROG_CC_STDC|AC_PROG_CC|' \
+ configure.in
libtoolize --force --copy --automake
autoreconf --force --install
./configure --prefix=/usr --disable-gtk-doc
make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
rm -rf ${pkgdir}/usr/share/gnome
}