summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2fe90c53375b925d1d8a97cb1d0ed703d1d8a472 (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
34
35
36
37
38
39
# Maintainer: Jonathan Dönszelmann <jonabent@gmail.com>
pkgname=nailgun-git
pkgver=r270.a41d7cc
pkgrel=1
pkgdesc="Command-line client, protocol and server for Java programs"
arch=(x86_64)
url=""
license=('Apache License 2.0')
groups=()
depends=('java-runtime')
makedepends=('java-environment')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=('nailgun::git+https://github.com/facebook/nailgun#branch=main')
noextract=()
md5sums=('SKIP') 

pkgver() {
    cd "nailgun"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "nailgun"

    make ng
}

package() {
    cd "nailgun"

    make install PREFIX="$pkgdir/usr"
}