diff options
author | Marc Plano-Lesay | 2019-03-27 08:04:29 +1100 |
---|---|---|
committer | Marc Plano-Lesay | 2019-03-27 08:04:29 +1100 |
commit | 6844dc76db1d6dc7d9b8c7c95fdc47626a9c3d83 (patch) | |
tree | e9b80d7b6d1f1953da40f965cf2baa3e0d651439 | |
download | aur-6844dc76db1d6dc7d9b8c7c95fdc47626a9c3d83.tar.gz |
Initial commit, 0.0.3
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 25 |
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2d1decc282d4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = bazelisk + pkgdesc = A user-friendly launcher for Bazel. + pkgver = 0.0.3 + pkgrel = 1 + url = https://github.com/philwo/bazelisk + arch = i686 + arch = x86_64 + license = Apache 2.0 + makedepends = bazel + source = bazelisk.tar.gz::https://github.com/philwo/bazelisk/archive/v0.0.3.tar.gz + sha256sums = 2a48d971eb8bca06bf95f6b8fd4309f827749869a702a1f00709ac2f28b143dd + +pkgname = bazelisk + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..608d5e19bc7e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +bazelisk-*.pkg.tar.xz +bazelisk.tar.gz +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..006d6b486268 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Marc Plano-Lesay <marc.planolesay@gmail.com> + +pkgname="bazelisk" +pkgver="0.0.3" +pkgrel="1" +pkgdesc="A user-friendly launcher for Bazel." +arch=("i686" "x86_64") +license=("Apache 2.0") +url="https://github.com/philwo/bazelisk" +makedepends=("bazel") + +source=("bazelisk.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=("2a48d971eb8bca06bf95f6b8fd4309f827749869a702a1f00709ac2f28b143dd") + +build() { + cd bazelisk-$pkgver + bazel build //:bazelisk +} + +package() { + cd bazelisk-$pkgver + install -Dm755 bazel-bin/*/bazelisk "$pkgdir"/usr/bin/bazelisk + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/bazelisk/LICENSE +} + |