aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jhead/APKBUILD
blob: fe396442d778c395f6eb13b0e1a1d23603023ec5 (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
30
31
32
33
34
35
36
# Contributor: Richard Mortier <mort@cantab.net>
# Maintainer: Richard Mortier <mort@cantab.net>
pkgname=jhead
pkgver=3.03
pkgrel=0
pkgdesc="Exif Jpeg header manipulation tool"
url="http://www.sentex.net/~mwandel/jhead/"
arch="all"
license="custom"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://www.sentex.net/~mwandel/jhead/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check" # no test suite

build() {
	cd "$builddir"
	make all
}

package() {
	cd "$builddir"
	install -Dm755 jhead "$pkgdir"/usr/bin/jhead
}

doc() {
	cd "$builddir"
	gzip -v9 jhead.1
	install -Dm644 jhead.1.gz "$subpkgdir"/usr/share/man/man1/jhead.1.gz
	install -Dm644 readme.txt \
            "$subpkgdir"/usr/share/licenses/$pkgname/readme.txt
}

sha512sums="3e1e5277ae3d22ed04a35cece42690e76f9f6196ab396cc7917ae27a1ebabae79ae359454d5a0597597b278c7e2e5e5766f5a5f6b57dc72a2aaf429e809dbb29  jhead-3.03.tar.gz"