aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jhead/APKBUILD
blob: 8e8aea3e8faaa195d1afd685dddbe030dc435d12 (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
37
38
39
40
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=jhead
pkgver=2.93
pkgrel=0
pkgdesc="An Exif jpeg header manipulation tool"
url="http://www.sentex.net/~mwandel/jhead/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://www.sentex.net/~mwandel/$pkgname/$pkgname-$pkgver.tar.gz
	makefile-destdir.patch"
_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="23ac51b4aea2df663d684744e282eb7d  jhead-2.93.tar.gz
c0daea2a99f121ea84adb2fce47e0a4e  makefile-destdir.patch"