summaryrefslogtreecommitdiff
path: root/community/jbig2dec/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jbig2dec/PKGBUILD')
-rw-r--r--community/jbig2dec/PKGBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/community/jbig2dec/PKGBUILD b/community/jbig2dec/PKGBUILD
index ea49b8be4..24cc37fe5 100644
--- a/community/jbig2dec/PKGBUILD
+++ b/community/jbig2dec/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 64909 2012-02-18 20:14:11Z bpiotrowski $
-# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# $Id: PKGBUILD 67870 2012-03-15 15:48:59Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=jbig2dec
pkgver=0.11
-pkgrel=3
+pkgrel=5
pkgdesc="decoder implementation of the JBIG2 image compression format"
arch=('x86_64' 'i686')
url="http://jbig2dec.sourceforge.net/"
license=('GPL3')
-source=(http://ghostscript.com/~giles/jbig2/$pkgname/$pkgname-$pkgver.tar.gz)
-md5sums=('1f61e144852c86563fee6e5ddced63f1')
-depends=('glibc')
+depends=('glibc' 'libpng')
+source=(http://ghostscript.com/~giles/jbig2/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname-$pkgver-libpng15.patch)
+md5sums=('1f61e144852c86563fee6e5ddced63f1'
+ '6d80db1f3a5581a5e38234b9ed599b20')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir"/$pkgname-$pkgver
+ patch -Np0 -i "$srcdir"/$pkgname-$pkgver-libpng15.patch
+ autoreconf -fi
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir/" install
}