joborun
fbd5421442
added fftw fribidi fuse2 gdk-pixbuff2 ghostscript gssfonts gts jbig2dec libfabric netpbm
55 lines
1.5 KiB
Bash
55 lines
1.5 KiB
Bash
#!/usr/bin/bash
|
|
# JOBoRun : Jwm OpenBox Obarun RUNit
|
|
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
|
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
|
|
# Website : https://pozol.eu
|
|
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
|
|
|
### 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=01
|
|
pkgdesc='Decoder implementation of the JBIG2 image compression format'
|
|
url='https://jbig2dec.com/'
|
|
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"
|
|
)
|
|
|
|
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
|
|
}
|
|
|
|
#---- arch license gpg-key & sha256sums ----
|
|
|
|
arch=(x86_64)
|
|
|
|
license=('GPL3')
|
|
|
|
sha256sums=(SKIP)
|
|
|
|
## 57732af3ab31567d83d372b48548d7aed7c3ceae209b268869f9e1aa16d55f2e jbig2dec-0.20-01-x86_64.pkg.tar.lz
|
|
|