summaryrefslogtreecommitdiff
path: root/extra/jhead
diff options
context:
space:
mode:
Diffstat (limited to 'extra/jhead')
-rw-r--r--extra/jhead/LICENSE12
-rw-r--r--extra/jhead/PKGBUILD26
2 files changed, 38 insertions, 0 deletions
diff --git a/extra/jhead/LICENSE b/extra/jhead/LICENSE
new file mode 100644
index 000000000..63ad89ebc
--- /dev/null
+++ b/extra/jhead/LICENSE
@@ -0,0 +1,12 @@
+License:
+
+ Jhead is public domain software - that is, you can do whatever you want
+ with it, and include it software that is licensesed under the GNU or the
+ BSD license, or whatever other licence you chose, including proprietary
+ closed source licenses. Although not part of the liscense, I do expect
+ common courtesy, please.
+
+ If you do integrate the code into some software of yours, I'd appreciate
+ knowing about it though.
+
+Matthias Wandel
diff --git a/extra/jhead/PKGBUILD b/extra/jhead/PKGBUILD
new file mode 100644
index 000000000..bc442c8a8
--- /dev/null
+++ b/extra/jhead/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 67926 2010-02-09 19:58:32Z giovanni $
+# Maintainer: François Charette <francois ατ archlinux δοτ org>
+# Contributor: Giovanni Scafora <giovanni@archlinux.org>
+
+pkgname=jhead
+pkgver=2.90
+pkgrel=1
+pkgdesc="EXIF JPEG info parser and thumbnail remover"
+arch=(i686 x86_64)
+url="http://www.sentex.net/~mwandel/jhead/"
+arch=('i686' 'x86_64')
+license=('custom')
+depends=('glibc')
+optdepends=('libjpeg: to up-right images according to rotation tag')
+source=(http://www.sentex.net/~mwandel/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ LICENSE)
+md5sums=('661effa9420bb92cb99ced697c5a177f'
+ '1f0db611d2642a981719f45252762a45')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make || return 1
+ install -D -m755 jhead "${pkgdir}/usr/bin/jhead" || return 1
+ install -D -m644 jhead.1 "${pkgdir}/usr/share/man/man1/jhead.1" || return 1
+ install -D -m644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+}