summaryrefslogtreecommitdiff
path: root/community/jbig2dec/PKGBUILD
blob: 24cc37fe559f4013212303209443d869e57f34d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $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=5
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
        $pkgname-$pkgver-libpng15.patch)
md5sums=('1f61e144852c86563fee6e5ddced63f1'
         '6d80db1f3a5581a5e38234b9ed599b20')

build() {
  cd "$srcdir"/$pkgname-$pkgver
  patch -Np0 -i "$srcdir"/$pkgname-$pkgver-libpng15.patch
  autoreconf -fi
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir"/$pkgname-$pkgver
  make DESTDIR="$pkgdir/" install
}