Subject: [alpine-aports] [PATCH] testing/jhead: new aport

From: Richard Mortier <[email-masked]>
Date: Tue, 1 Jan 2019 23:58:44 +0000

http://www.sentex.net/~mwandel/jhead/
Exif Jpeg header manipulation tool

Signed-off-by: Richard Mortier <[email-masked]>
---
 testing/jhead/APKBUILD | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 testing/jhead/APKBUILD

diff --git a/testing/jhead/APKBUILD b/testing/jhead/APKBUILD
new file mode 100644
index 0000000000..fe396442d7
--- /dev/null
+++ b/testing/jhead/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Richard Mortier <[email-masked]>
+# Maintainer: Richard Mortier <[email-masked]>
+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"
-- 
2.20.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---