[arch-commits] Commit in jhead/trunk (PKGBUILD)

Giovanni Scafora giovanni at archlinux.org
Tue Dec 1 15:38:59 UTC 2009


    Date: Tuesday, December 1, 2009 @ 10:38:59
  Author: giovanni
Revision: 60162

upgpkg: jhead 2.88-1
    upstream release

Modified:
  jhead/trunk/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-12-01 12:34:26 UTC (rev 60161)
+++ PKGBUILD	2009-12-01 15:38:59 UTC (rev 60162)
@@ -1,23 +1,25 @@
 # $Id$
 # Maintainer: François Charette <francois ατ archlinux δοτ org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
 pkgname=jhead
-pkgver=2.87
+pkgver=2.88
 pkgrel=1
 pkgdesc="EXIF JPEG info parser and thumbnail remover"
 url="http://www.sentex.net/~mwandel/jhead/"
 arch=('i686' 'x86_64')
 license=('custom')
-depends=(glibc)
+depends=('glibc')
 optdepends=('libjpeg: to up-right images according to rotation tag')
-source=($url/$pkgname-$pkgver.tar.gz LICENSE)
-md5sums=('7e5e84bf74800808c171956414228db9'
+source=(http://www.sentex.net/~mwandel/${pkgname}/${pkgname}-${pkgver}.tar.gz 
+        LICENSE)
+md5sums=('a2d4a3ede43a72ac7b97fd6b659c328c'
          '1f0db611d2642a981719f45252762a45')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd "${srcdir}/${pkgname}-${pkgver}"
   make || return 1
-  install -D -m755 $pkgname $startdir/pkg/usr/bin/$pkgname
-  install -D -m644 $pkgname.1 $startdir/pkg/usr/share/man/man1/$pkgname.1
-  install -D -m644 ../LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+  install -D -m755 jhead "${pkgdir}/usr/bin/jhead" || return 1
+  install -D -m644 jhead.1 "${pkgdir}/usr/share/man/man1/jhead.1" || return 1
+  install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
 }




More information about the arch-commits mailing list