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

Richard Mortier
Details
Message ID
<20190101235843.34664-1-mort@cantab.net>
Sender timestamp
1546387124
DKIM signature
missing
Download raw message
Patch: +36 -0
http://www.sentex.net/~mwandel/jhead/
Exif Jpeg header manipulation tool

Signed-off-by: Richard Mortier <mort@cantab.net>
---
 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 <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"
-- 
2.20.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---