desktop/jhead/PKGBUILD
2013-12-10 05:12:27 +00:00

33 lines
989 B
Bash

# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves gmail.com>
# Contributor: François Charette <francois ατ archlinux δοτ org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>
pkgname=jhead
pkgver=2.97
pkgrel=1
pkgdesc="EXIF JPEG info parser and thumbnail remover"
url="http://www.sentex.net/~mwandel/jhead/"
arch=('x86_64')
license=('custom:Public Domain')
depends=('glibc')
optdepends=('libjpeg: to up-right images according to rotation tag')
categories=('graphics')
source=(http://www.sentex.net/~mwandel/$pkgname/$pkgname-$pkgver.tar.gz
license.txt)
md5sums=('23b037d0c54211973a3951e41a97c924'
'1f0db611d2642a981719f45252762a45')
build() {
cd $srcdir/$pkgname-$pkgver
make
}
package() {
cd $srcdir/$pkgname-$pkgver
install -D -m755 jhead $pkgdir/usr/bin/jhead
install -D -m644 jhead.1 $pkgdir/usr/share/man/man1/jhead.1
# License.
install -D -m644 $srcdir/license.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
}