Date: Wednesday, June 11, 2014 @ 15:06:46
  Author: spupykin
Revision: 113007

upgpkg: jbigkit 2.1-1

upd

Modified:
  jbigkit/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++++++-----------------
 1 file changed, 18 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-06-11 13:05:15 UTC (rev 113006)
+++ PKGBUILD    2014-06-11 13:06:46 UTC (rev 113007)
@@ -4,40 +4,41 @@
 # Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
 
 pkgname=jbigkit
-pkgver=2.0
-pkgrel=5
+pkgver=2.1
+pkgrel=1
 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')
+depends=()
 options=('staticlibs')
 source=(http://www.cl.cam.ac.uk/~mgk25/download/jbigkit-$pkgver.tar.gz)
-md5sums=('3dd87f605abb1a97a22dc79d8b3e8f6c')
+md5sums=('ebcf09bed9f14d7fa188d3bd57349522')
 
 build() {
-  cd $srcdir/$pkgname
+  cd $srcdir/$pkgname-$pkgver
+  unset CFLAGS CPPFLAGS LDFLAGS
   make
 }
 
 package() {
-  cd $srcdir/$pkgname
+  cd $srcdir/$pkgname-$pkgver
 
-  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 -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 $srcdir/$pkgname/pbmtools/*.1* $pkgdir/usr/share/man/man1
-#  install -m644 $srcdir/$pkgname/pbmtools/*.5* $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 $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
+  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*
 }

Reply via email to