summaryrefslogtreecommitdiff
path: root/community/jbig2dec/PKGBUILD
blob: 9ea255b4b95c9cc0f686eee65650211fce23868a (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 73320 2012-07-06 13:34:39Z spupykin $
# 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
}