blob: 21d21e2093d4bd1eb30a08eb972879480e4171db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Luke Shumaker <lukeshu@parabola.nu>
pkgname=jh
pkgver=0.5.3
pkgdesc="Java helpers for PKGBUILDs"
url="https://git.parabola.nu/packages/jh.git/"
license=('custom:WTFPL')
pkgrel=1
arch=(any)
makedepends=('git')
optdepends=(
"maven: for configurable maven local repository location"
"librelib: for human readable output from jh checksource"
)
source=("git+https://git.parabola.nu/packages/${pkgname}.git#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
make
}
package() {
depends=(xmlstarlet)
cd "$srcdir/$pkgname"
make install DESTDIR="$pkgdir"
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
|