[arch-commits] Commit in jbigkit/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Fri Nov 9 22:27:37 UTC 2018


    Date: Friday, November 9, 2018 @ 22:27:36
  Author: foutrelis
Revision: 404976

archrelease: copy trunk to community-staging-x86_64

Added:
  jbigkit/repos/community-staging-x86_64/
  jbigkit/repos/community-staging-x86_64/PKGBUILD
    (from rev 404974, jbigkit/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: jbigkit/repos/community-staging-x86_64/PKGBUILD (from rev 404974, jbigkit/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-11-09 22:27:36 UTC (rev 404976)
@@ -0,0 +1,44 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at 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=4
+pkgdesc="Data compression library/utilities for bi-level high-resolution images"
+arch=('x86_64')
+url="http://www.cl.cam.ac.uk/~mgk25/jbigkit/"
+license=('GPL')
+depends=()
+options=('staticlibs')
+source=(https://www.cl.cam.ac.uk/~mgk25/download/jbigkit-$pkgver.tar.gz)
+sha256sums=('de7106b6bfaf495d6865c7dd7ac6ca1381bd12e0d81405ea81e7f2167263d932')
+
+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*
+}



More information about the arch-commits mailing list