summaryrefslogtreecommitdiff
path: root/community/jbig2dec
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
committerroot <root@rshg054.dnsready.net>2012-03-18 00:02:54 +0000
commitd14a25fc4f65ae3d6e62f4668e9cb88d74834255 (patch)
tree7c4f618283e9b502f0d9cfb5059ce38daa7738be /community/jbig2dec
parent9a940818cc3edb82afac4d73a6474e6e3374f987 (diff)
Sun Mar 18 00:02:53 UTC 2012
Diffstat (limited to 'community/jbig2dec')
-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
}