summaryrefslogtreecommitdiff
path: root/libre/jh/PKGBUILD
blob: cda4677b7e5c635ce7ce47e24cb9d41acdaa763f (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@sbcglobal.net>

pkgname=jh
pkgver=0.5.2
pkgdesc="Java helpers for PKGBUILDs"
url="https://git.parabola.nu/packages/jh.git/"
license=('custom:WTFPL')

pkgrel=2
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
}