Andreas Radke pushed to branch main at Arch Linux / Packaging / Packages / jbig2dec
Commits: c478362e by Andreas Radke at 2023-10-09T20:43:39+02:00 upgpkg: 0.20-1; build from git - no tarball available - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,14 @@ +pkgbase = jbig2dec + pkgdesc = Decoder implementation of the JBIG2 image compression format + pkgver = 0.20 + pkgrel = 1 + url = https://jbig2dec.com/ + arch = x86_64 + license = GPL3 + makedepends = git + depends = libpng + depends = glibc + source = git+https://github.com/ArtifexSoftware/jbig2dec.git#commit=1d1347e38a55e657dcc4c8f1c77bb3a26bfc9ff3 + sha512sums = SKIP + +pkgname = jbig2dec ===================================== PKGBUILD ===================================== @@ -1,31 +1,43 @@ -# Maintainer: Gaetan Bisson <[email protected]> +# Maintainer: AndyRTR <[email protected]> +# Contributor: Gaetan Bisson <[email protected]> # Contributor: Bartłomiej Piotrowski # Contributor: Stefan Husmann <[email protected]> pkgname=jbig2dec -pkgver=0.19 -_gsver=gs9530 +_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') -source=("https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/${_gsver}/${pkgname}-${pkgver}.tar.gz") -sha512sums=('0d3ec8123b446b5b74846b189004c188e82cdf7b1c7ec3e02f98892aaa249fba0b0fe7f1db7036f2571b0ef2a5df22d1997d3d3f5479c9bef7851bf114134737') +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 + cd ${pkgname} #-${pkgver} +# autoreconf -vfi + NOCONFIGURE=1 ./autogen.sh } build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr - make + cd ${pkgname} #-${pkgver} + ./configure --prefix=/usr + make } package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install + cd ${pkgname} #-${pkgver} + make DESTDIR="${pkgdir}" install } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/jbig2dec/-/commit/c478362e6da724935e0207e1634fc90a32b8b311 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/jbig2dec/-/commit/c478362e6da724935e0207e1634fc90a32b8b311 You're receiving this email because of your account on gitlab.archlinux.org.
