aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jhead/APKBUILD
blob: 89e6870e5dc764dd74980cfbc577c4c19a396b07 (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
# Contributor: Richard Mortier <mort@cantab.net>
# Maintainer: Richard Mortier <mort@cantab.net>
pkgname=jhead
pkgver=3.04
pkgrel=0
pkgdesc="Exif Jpeg header manipulation tool"
url="http://www.sentex.net/~mwandel/jhead/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
source="http://www.sentex.net/~mwandel/jhead/jhead-$pkgver.tar.gz"
options="!check" # no test suite

build() {
	make all
}

package() {
	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="d783b02059ebcb01845d346e7c48bdc9d9f12fb7b0fd47bf8aff0a85a03f3523fbc536ddab0912f1c56ddb315b6cf31f16d4c7a4f81112d9a4c76a4a57ec1aed  jhead-3.04.tar.gz"