summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/jh/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/java/jh/PKGBUILD b/java/jh/PKGBUILD
index e8a59f9c4..3f01ed7d0 100644
--- a/java/jh/PKGBUILD
+++ b/java/jh/PKGBUILD
@@ -1,26 +1,27 @@
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
pkgname=jh
-pkgver=0.3.3
+pkgver=0.4
pkgdesc="Java helpers for PKGBUILDs"
-url="https://gitorious.org/parabola/jh"
-license=('Public Domain')
+url="https://projects.parabolagnulinux.org/packages/jh.git/"
+license=('custom:WTFPL')
pkgrel=1
arch=(any)
-depends=(xmlstarlet)
-makedepends=('pacman>4.0.3')
optdepends=("maven: for configurable maven local repository location")
-source=("git://gitorious.org/parabola/jh.git#tag=v$pkgver")
+source=("https://projects.parabolagnulinux.org/packages/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.bz2")
build() {
- cd "$srcdir/$pkgname"
+ cd "$srcdir/$pkgname-$pkgver"
make
}
package() {
- cd "$srcdir/$pkgname"
+ depends=(xmlstarlet)
+
+ cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR="$pkgdir"
+ install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
-md5sums=('SKIP')
+md5sums=('8982b5a25a802e6004a0c20f96a1f185')