summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJean Lucas2019-10-31 20:22:21 -0400
committerJean Lucas2019-10-31 20:22:21 -0400
commit6bcff624bfd94b1bf1fc024efa09c752ae6207cd (patch)
tree11c5ae57007427c37fc653eb18bdd6f784bf98a7 /PKGBUILD
downloadaur-6bcff624bfd94b1bf1fc024efa09c752ae6207cd.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5c02a409b55
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Jean Lucas <jean@4ray.co>
+
+pkgname=bb-rs
+pkgver=0.3.1
+_commit=d9228f3c4328b9323cab7fecb96346f5181072a0
+pkgrel=1
+pkgdesc='Simple process viewer in Rust'
+arch=(x86_64)
+url=https://nessuent.xyz/bb.html
+license=(GPL3)
+depends=(gcc-libs)
+makedepends=(rust)
+source=($pkgname-$pkgver.tar.gz::https://github.com/epilys/bb/archive/$_commit.tar.gz)
+sha512sums=('8a01964cf50818ad78d898bb80fb1866c32d2dcb53fed624da777836e915360e9bafa36b285a9e55ce9826aaa6fc33504048720d4ae477f3510ee14e1f0dc845')
+
+build() {
+ cd bb-$_commit
+ cargo build --release
+}
+
+check() {
+ cd bb-$_commit
+ cargo test --release
+}
+
+package() {
+ cd bb-$_commit
+ install -D target/release/bb -t "$pkgdir"/usr/bin
+ install -Dm 644 README.md -t "$pkgdir"/usr/share/doc/bb
+}