1 # Contributor: David Sotelo <dvsotelo at gmail.com>
6 pkgdesc="Command line tool to do lossless transformations of JPEG images."
8 url="http://linux.bytesex.org/fbida/"
10 depends=('libexif' 'libjpeg>=8')
12 source=(http://dl.bytesex.org/releases/fbida/fbida-${pkgver}.tar.gz
13 libpng-1.4.patch libjpeg-8.patch)
14 md5sums=('3e05910fb7c1d9b2bd3e272d96db069c'
15 '31b5a5318c16808d55403e06110ff5a5'
16 'e647584600dd35f035f3053183f39dc0')
19 cd "${srcdir}/fbida-${pkgver}"
21 rm jpeg/jpeg{int,lib}.h
22 patch -p1 < ../libpng-1.4.patch || return 1
23 patch -p1 < ../libjpeg-8.patch || return 1
25 make clean || return 1
27 install -d ${pkgdir}/usr/bin
28 install -d ${pkgdir}/usr/share/man/man1
29 install -s exiftran ${pkgdir}/usr/bin
30 install -m 644 exiftran.man ${pkgdir}/usr/share/man/man1/exiftran.1