# $Id: PKGBUILD 52037 2009-09-14 14:45:26Z francois $ # Maintainer: François Charette # Contributor: Damir Perisa pkgname=jhead pkgver=2.87 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) optdepends=('libjpeg: to up-right images according to rotation tag') source=($url/$pkgname-$pkgver.tar.gz LICENSE) md5sums=('7e5e84bf74800808c171956414228db9' '1f0db611d2642a981719f45252762a45') build() { cd $startdir/src/$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 }