summaryrefslogtreecommitdiff
path: root/java/jh/PKGBUILD
blob: 4c1dee6f3d3b9a954dd998683f140db420766076 (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.5
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=('5fe2279fbada213eb8df38875450c4d2')