diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/jbigkit/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/jbigkit/PKGBUILD')
-rw-r--r-- | community/jbigkit/PKGBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/jbigkit/PKGBUILD b/community/jbigkit/PKGBUILD new file mode 100644 index 000000000..411bcb670 --- /dev/null +++ b/community/jbigkit/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 26236 2010-09-14 10:47:51Z spupykin $ +# 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.0 +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=('glibc') +source=(http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-$pkgver.tar.gz) +md5sums=('3dd87f605abb1a97a22dc79d8b3e8f6c') + +build() { + cd $srcdir/$pkgname + + make || return 1 + + install -D -m644 $srcdir/$pkgname/libjbig/libjbig.a $pkgdir/usr/lib/libjbig.a + install -D -m644 $srcdir/$pkgname/libjbig/libjbig85.a $pkgdir/usr/lib/libjbig85.a + install -D -m644 $srcdir/$pkgname/libjbig/jbig.h $pkgdir/usr/include/jbig.h + install -D -m644 $srcdir/$pkgname/libjbig/jbig_ar.h $pkgdir/usr/include/jbig_ar.h + install -D -m644 $srcdir/$pkgname/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 $srcdir/$pkgname/pbmtools/*.1* $pkgdir/usr/share/man/man1 +# install -m644 $srcdir/$pkgname/pbmtools/*.5* $pkgdir/usr/share/man/man5 + + install -D -m755 $srcdir/$pkgname/pbmtools/jbgtopbm $pkgdir/usr/bin/jbgtopbm + install -D -m755 $srcdir/$pkgname/pbmtools/pbmtojbg $pkgdir/usr/bin/pbmtojbg + install -D -m755 $srcdir/$pkgname/pbmtools/jbgtopbm85 $pkgdir/usr/bin/jbgtopbm85 + install -D -m755 $srcdir/$pkgname/pbmtools/pbmtojbg85 $pkgdir/usr/bin/pbmtojbg85 + + rm -f $pkgdir/usr/share/man/man5/p{b,g}m.5* +} |