summaryrefslogtreecommitdiff
path: root/extra/jhead/PKGBUILD
blob: 16d1650c44cd3f1c0a05c5a0c60c63a53a0fd071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 144342 2011-12-04 21:25:01Z eric $
# Maintainer: François Charette <francois ατ archlinux δοτ org>
# Contributor: Giovanni Scafora <giovanni@archlinux.org>

pkgname=jhead
pkgver=2.93
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=(http://www.sentex.net/~mwandel/${pkgname}/${pkgname}-${pkgver}.tar.gz 
        LICENSE)
md5sums=('23ac51b4aea2df663d684744e282eb7d'
         '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"
  install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}