summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5068ffb53719588f60b06328a0d38a650c34fb9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Super Bo <supernbo@gmail.com>
pkgname=bazel31-bin
pkgver=3.1.0
pkgrel=1
pkgdesc='Build and test software of any size, quickly and reliably.'
arch=('x86_64')
url='https://bazel.build'
license=('Apache')
depends=('java-environment=8')
provides=("${pkgname%-bin}" "bazel=${pkgver}")
conflicts=('bazel31' 'bazel3' 'bazel3-bin' 'bazel')
options=('!strip')
source=(
    "https://github.com/bazelbuild/bazel/releases/download/${pkgver}/bazel-${pkgver}-linux-x86_64"
)
noextract=("bazel_nojdk-${pkgver}-linux-x86_64")
sha256sums=(
    "605118766dbe07d04f4f15a809b231247eef3f302c431dcb712a514244662a47d3eb784add3b20d69d415954f7a95f9988215560911079289170a383343398d1"
)

package() {
    install -Dm755 bazel-${pkgver}-linux-x86_64 "${pkgdir}/usr/bin/bazel"
}