summaryrefslogtreecommitdiff
path: root/java/jh/PKGBUILD
blob: 3f01ed7d08e02b8fc998f4d2a125a41918f83bd3 (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
# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>

pkgname=jh
pkgver=0.4
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")
source=("https://projects.parabolagnulinux.org/packages/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.bz2")

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
}

md5sums=('8982b5a25a802e6004a0c20f96a1f185')