diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-12-04 19:02:41 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-12-04 19:02:41 (GMT) |
commit | 6a0a936185ae1a13338927589cde5f2c91f408d0 (patch) | |
tree | d2375702f7dce5f32c7d3eac5d8620b2da043016 | |
parent | 41f84477615bd6e2286c681458a72685207bddf6 (diff) | |
download | linhes_pkgbuild-6a0a936185ae1a13338927589cde5f2c91f408d0.zip linhes_pkgbuild-6a0a936185ae1a13338927589cde5f2c91f408d0.tar.gz linhes_pkgbuild-6a0a936185ae1a13338927589cde5f2c91f408d0.tar.bz2 |
jbigkit: initial inclusion. dep of libtiff
-rw-r--r-- | abs/extra/jbigkit/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/abs/extra/jbigkit/PKGBUILD b/abs/extra/jbigkit/PKGBUILD new file mode 100644 index 0000000..76de230 --- /dev/null +++ b/abs/extra/jbigkit/PKGBUILD @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) + +pkgname=jbigkit +pkgver=2.1 +pkgrel=2 +pkgdesc="Data compression library/utilities for bi-level high-resolution images" +arch=('i686' 'x86_64') +url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/" +license=('GPL') +depends=() +options=('staticlibs') +source=(http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-$pkgver.tar.gz) +md5sums=('ebcf09bed9f14d7fa188d3bd57349522') + +build() { + cd $srcdir/$pkgname-$pkgver + unset CFLAGS CPPFLAGS LDFLAGS + [ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC" + make CFLAGS="$CFLAGS" +} + +package() { + cd $srcdir/$pkgname-$pkgver + + install -D -m644 libjbig/libjbig.a $pkgdir/usr/lib/libjbig.a + install -D -m644 libjbig/libjbig85.a $pkgdir/usr/lib/libjbig85.a + install -D -m644 libjbig/jbig.h $pkgdir/usr/include/jbig.h + install -D -m644 libjbig/jbig_ar.h $pkgdir/usr/include/jbig_ar.h + install -D -m644 libjbig/jbig85.h $pkgdir/usr/include/jbig85.h + + install -d -m755 $pkgdir/usr/share/man/man1 +# install -d -m755 $pkgdir/usr/share/man/man5 + install -m644 pbmtools/*.1* $pkgdir/usr/share/man/man1 +# install -m644 pbmtools/*.5* $pkgdir/usr/share/man/man5 + + install -D -m755 pbmtools/jbgtopbm $pkgdir/usr/bin/jbgtopbm + install -D -m755 pbmtools/pbmtojbg $pkgdir/usr/bin/pbmtojbg + install -D -m755 pbmtools/jbgtopbm85 $pkgdir/usr/bin/jbgtopbm85 + install -D -m755 pbmtools/pbmtojbg85 $pkgdir/usr/bin/pbmtojbg85 + + rm -f $pkgdir/usr/share/man/man5/p{b,g}m.5* +} |