1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
5 pkgver=20090111.b4f886f
7 pkgdesc='Get and set the Exif Orientation Tag'
8 url='https://github.com/freedesktop/libjpeg'
12 depends=('libjpeg-turbo')
13 _commit=b4f886fcbb692e20fb4da4e6e3ead57f79444734
14 source=("git+https://github.com/freedesktop/libjpeg#commit=$_commit")
18 cd "${srcdir}/libjpeg"
19 git log -1 --format='%cd.%h' --date=short | tr -d -
23 cd "${srcdir}/libjpeg/extra"
28 cd "${srcdir}/libjpeg/extra"
29 install -d "${pkgdir}/usr/"{bin,share/man/man1}
30 make prefix=/usr DESTDIR="${pkgdir}" install
31 install -Dm644 /usr/share/licenses/libjpeg-turbo/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"