43 lines
1.0 KiB
Bash
43 lines
1.0 KiB
Bash
# Template file for 'jbig2dec'
|
|
# Rebuild and test mupdf for updates, it refuses to start when versions are unmatched
|
|
pkgname=jbig2dec
|
|
version=0.20
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
makedepends="libpng-devel"
|
|
checkdepends="python3"
|
|
short_desc="Decoder implementation of the JBIG2 image compression format"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="AGPL-3.0-or-later"
|
|
homepage="https://www.jbig2dec.com"
|
|
distfiles="https://github.com/ArtifexSoftware/jbig2dec/archive/${version}.tar.gz"
|
|
checksum=a9705369a6633aba532693450ec802c562397e1b824662de809ede92f67aff21
|
|
|
|
pre_configure() {
|
|
sed -i '$ d' autogen.sh
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
jbig2dec-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="libjbig2dec>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libjbig2dec_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|