summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4c402e42e0af30774092d42cb8ebddd05149b05b (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 Justin Buchanan <justbuchanan@gmail.com>

pkgname=ibazel-git
pkgver=master
pkgrel=2
pkgdesc='Tool for building Bazel targets when source files change.'
arch=('i686' 'x86_64')
url=https://github.com/bazelbuild/bazel-watcher
license=('Apache 2.0')
depends=('bazel')
source=("bazel-watcher::git+$url#branch=$pkgver")
sha512sums=('SKIP')

build() {
  cd bazel-watcher
  bazel build //ibazel
}

package() {
  cd bazel-watcher
  install -Dm755 bazel-bin/ibazel/*/ibazel "$pkgdir"/usr/bin/ibazel
  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/ibazel/LICENSE
}