summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/jh/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/libre/jh/PKGBUILD b/libre/jh/PKGBUILD
index 1604b849e..cda4677b7 100644
--- a/libre/jh/PKGBUILD
+++ b/libre/jh/PKGBUILD
@@ -3,28 +3,31 @@
pkgname=jh
pkgver=0.5.2
pkgdesc="Java helpers for PKGBUILDs"
-url="https://projects.parabolagnulinux.org/packages/jh.git/"
+url="https://git.parabola.nu/packages/jh.git/"
license=('custom:WTFPL')
-pkgrel=1
+pkgrel=2
arch=(any)
+makedepends=('git')
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')
+source=("git+https://git.parabola.nu/packages/${pkgname}.git#tag=v${pkgver}")
+sha256sums=('SKIP')
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
+
make
}
package() {
depends=(xmlstarlet)
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$srcdir/$pkgname"
+
make install DESTDIR="$pkgdir"
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}