summaryrefslogtreecommitdiff
path: root/libre/jh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-22 01:03:01 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-22 01:03:01 -0500
commitb942fafe021b02d85580985988923db9cca4c7f1 (patch)
treeae1bb70ab5cee4961a8e3f0eb3564731e3965c53 /libre/jh
parentbb1f08483b701d24050f13cf61a3948ced68944b (diff)
update jh, move it from [java] to [libre]
Diffstat (limited to 'libre/jh')
-rw-r--r--libre/jh/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/libre/jh/PKGBUILD b/libre/jh/PKGBUILD
new file mode 100644
index 000000000..1604b849e
--- /dev/null
+++ b/libre/jh/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname=jh
+pkgver=0.5.2
+pkgdesc="Java helpers for PKGBUILDs"
+url="https://projects.parabolagnulinux.org/packages/jh.git/"
+license=('custom:WTFPL')
+
+pkgrel=1
+arch=(any)
+optdepends=(
+ "maven: for configurable maven local repository location"
+ "librelib: for human readable output from jh checksource"
+)
+
+source=("https://projects.parabolagnulinux.org/packages/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('498fadbf2dffc91c53c9ebe29f8ba8a9')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ depends=(xmlstarlet)
+
+ cd "$srcdir/$pkgname-$pkgver"
+ make install DESTDIR="$pkgdir"
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}