blob: bbe1725888f3a060a0b0637d6ec9301adcb165fe (
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
|
# Maintainer: Marc Plano-Lesay <marc.planolesay@gmail.com>
# Contributor: Xiang Gao <qasdfgtyuiop at gmail dot com>
pkgname=bazel-buildtools
pkgver=3.2.0
pkgrel=1
arch=('x86_64')
url='https://github.com/bazelbuild/buildtools'
license=('Apache')
pkgdesc="Developer tools for working with Google's bazel buildtool."
makedepends=("bazel" "git")
source=("$url/archive/$pkgver.tar.gz")
sha256sums=("66e047cd1804e3115447fcb64870a9e721ced8c0e500a906824e3ae8af912e78")
build() {
cd buildtools-$pkgver
bazel build //buildifier //buildozer //unused_deps
}
package() {
cd buildtools-$pkgver
install -d "$pkgdir"/usr/bin
install -Dm755 bazel-bin/buildifier/*/buildifier bazel-bin/buildozer/*/buildozer bazel-bin/unused_deps/*/unused_deps $pkgdir/usr/bin/
}
|