diff options
author | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-07 00:36:35 -0700 |
commit | da0a0d88caa1bf934ebf314ef86e15928dbb027b (patch) | |
tree | b7c57ac9667de10c72390e0d81654fffbe47c42d /community/jbig2dec | |
parent | ffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff) |
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'community/jbig2dec')
-rw-r--r-- | community/jbig2dec/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/community/jbig2dec/PKGBUILD b/community/jbig2dec/PKGBUILD index 9ea255b4b..9ea0595f9 100644 --- a/community/jbig2dec/PKGBUILD +++ b/community/jbig2dec/PKGBUILD @@ -1,29 +1,33 @@ -# $Id: PKGBUILD 73320 2012-07-06 13:34:39Z spupykin $ +# $Id: PKGBUILD 90049 2013-05-06 19:37:57Z foutrelis $ # Maintainer: Bartłomiej Piotrowski # Contributor: Stefan Husmann <stefan-husmann@t-online.de> pkgname=jbig2dec pkgver=0.11 -pkgrel=5 +pkgrel=6 pkgdesc="decoder implementation of the JBIG2 image compression format" arch=('x86_64' 'i686') url="http://jbig2dec.sourceforge.net/" license=('GPL3') depends=('glibc' 'libpng') -source=(http://ghostscript.com/~giles/jbig2/$pkgname/$pkgname-$pkgver.tar.gz +options=('!libtool') +source=(https://github.com/rillian/jbig2dec/archive/$pkgver.tar.gz $pkgname-$pkgver-libpng15.patch) -md5sums=('1f61e144852c86563fee6e5ddced63f1' - '6d80db1f3a5581a5e38234b9ed599b20') +sha256sums=('8af7b94b6026aff718d4b41ad990f2702f8fd4a348d565c4b48a695988ca0e9a' + 'ed871abd9419dbf35ba7f38d4835098d3838fd9400856ac4ec029e63bb42d859') +prepare() { + cd $pkgname-$pkgver + patch -Np0 -i "$srcdir"/$pkgname-$pkgver-libpng15.patch + sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac +} build() { - cd "$srcdir"/$pkgname-$pkgver - patch -Np0 -i "$srcdir"/$pkgname-$pkgver-libpng15.patch - autoreconf -fi - ./configure --prefix=/usr + cd $pkgname-$pkgver + ./autogen.sh --prefix=/usr make } package() { - cd "$srcdir"/$pkgname-$pkgver + cd $pkgname-$pkgver make DESTDIR="$pkgdir/" install } |