upgpkg: ocaml-topkg 1.0.5-2
[arch-packages.git] / jpegexiforient / trunk / PKGBUILD
blob9281049c05a53b5edac65399833426b5084a8022
1 # Maintainer: Gaetan Bisson <bisson@archlinux.org>
3 pkgname=jpegexiforient
4 epoch=1
5 pkgver=20090111.b4f886f
6 pkgrel=2
7 pkgdesc='Get and set the Exif Orientation Tag'
8 url='https://github.com/freedesktop/libjpeg'
9 license=('custom')
10 arch=('x86_64')
11 makedepends=('git')
12 depends=('libjpeg-turbo')
13 _commit=b4f886fcbb692e20fb4da4e6e3ead57f79444734
14 source=("git+https://github.com/freedesktop/libjpeg#commit=$_commit")
15 sha256sums=('SKIP')
17 pkgver() {
18         cd "${srcdir}/libjpeg"
19         git log -1 --format='%cd.%h' --date=short | tr -d -
22 build() {
23         cd "${srcdir}/libjpeg/extra"
24         make
27 package() {
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"