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

pkgname=jh
pkgver=0.5.2
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"
  "librelib: for human readable output from jh checksource"
)

source=("https://projects.parabolagnulinux.org/packages/${pkgname}.git/snapshot/${pkgname}-${pkgver}.tar.bz2")
md5sums=('498fadbf2dffc91c53c9ebe29f8ba8a9')

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
}