blob: ef9145480676deaa3add5df55e4223b28c3c15cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Vianney le Clément <code AT quartic·eu>
_pkgname=jbig2enc
pkgname=$_pkgname-git
pkgver=0.29.20.gc0141bf
pkgrel=2
pkgdesc="A JBIG2 image encoder"
arch=('i686' 'x86_64')
url="https://github.com/agl/jbig2enc"
license=('Apache')
depends=('gcc-libs' 'leptonica>=1.68' 'libpng' 'libjpeg' 'libtiff')
optdepends=('python: for jbig2topdf.py')
provides=('jbig2enc')
conflicts=('jbig2enc')
makedepends=('git')
source=("git+https://github.com/agl/$_pkgname.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
git describe --tags | sed 's/-/./g'
}
build() {
cd "$srcdir/$_pkgname"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$_pkgname"
make install DESTDIR="$pkgdir"
}
|