OCaml 4.14.0 rebuild
[arch-packages.git] / jbig2dec / trunk / PKGBUILD
blobf193caf0047897b719cd515a5c9bb629b7f67b8a
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
2 # Contributor: BartÅ‚omiej Piotrowski
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgname=jbig2dec
6 pkgver=0.19
7 _gsver=gs9530
8 pkgrel=1
9 pkgdesc='Decoder implementation of the JBIG2 image compression format'
10 url='https://jbig2dec.com/'
11 arch=('x86_64')
12 license=('GPL3')
13 depends=('libpng')
14 source=("https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/${_gsver}/${pkgname}-${pkgver}.tar.gz")
15 sha512sums=('0d3ec8123b446b5b74846b189004c188e82cdf7b1c7ec3e02f98892aaa249fba0b0fe7f1db7036f2571b0ef2a5df22d1997d3d3f5479c9bef7851bf114134737')
17 prepare() {
18         cd ${pkgname}-${pkgver}
19         autoreconf -vfi
22 build() {
23         cd ${pkgname}-${pkgver}
24         ./configure --prefix=/usr
25         make
28 package() {
29         cd ${pkgname}-${pkgver}
30         make DESTDIR="${pkgdir}" install