| Name |
jbig2dec |
| Description |
Decoder implementation of the JBIG2 image compression format |
| Version |
0.20-1 |
| Package Base |
jbig2dec |
| Homepage |
https://jbig2dec.com/ |
| Maintainers |
['Andreas Radke <andyrtr@archlinux.org>', 'AndyRTR <andyrtr@archlinux.org>', 'Robin Candau <antiz@archlinux.org>'] |
| Contributors |
['Bartłomiej Piotrowski', 'Gaetan Bisson <bisson@archlinux.org>', 'Stefan Husmann <stefan-husmann@t-online.de>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/jbig2dec |
| Sources |
['git+https://github.com/ArtifexSoftware/jbig2dec.git#commit=1d1347e38a55e657dcc4c8f1c77bb3a26bfc9ff3'] |
| Dependencies |
['glibc', 'libpng'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['git'] |
| Provides |
[] |
| Builddate |
09-10-2023 20:40:33 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['GPL3'] |
| Hash |
adf5556f71e0fe201eb498bd5e88b1493a5205a5a1e84f64b44be054c395d0a2 |
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Maintainer: Robin Candau <antiz@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Bartłomiej Piotrowski
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
### jbig2dec new releases require a rebuild for the following packages: ghostscript, mupdf, python-pymupdf, zathura-pdf-mupdf ###
pkgname=jbig2dec
_commit=1d1347e38a55e657dcc4c8f1c77bb3a26bfc9ff3 # = master 2023-10-07 = v2.3
pkgver=0.20
#_gsver=gs9530
pkgrel=1
pkgdesc='Decoder implementation of the JBIG2 image compression format'
url='https://jbig2dec.com/'
arch=('x86_64')
license=('GPL3')
depends=('libpng' 'glibc')
makedepends=('git')
# tarball is not yet available
source=(#"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/${_gsver}/${pkgname}-${pkgver}.tar.gz"
"git+https://github.com/ArtifexSoftware/jbig2dec.git#commit=$_commit"
)
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/^Release.//;s/\([^-]*-g\)/\1/;s/-/+/g;'
}
prepare() {
cd ${pkgname} #-${pkgver}
# autoreconf -vfi
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd ${pkgname} #-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd ${pkgname} #-${pkgver}
make DESTDIR="${pkgdir}" install
}