diff options
author | Zola Gonano | 2023-07-09 17:48:49 +0000 |
---|---|---|
committer | Zola Gonano | 2023-07-09 17:48:49 +0000 |
commit | 1e52229c206af13c07ba6da4720ab8385c1bdf8a (patch) | |
tree | a7672d51f2fb4fdb03f9a883fc5768d3504fc37e /PKGBUILD | |
download | aur-1e52229c206af13c07ba6da4720ab8385c1bdf8a.tar.gz |
Initial Commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4762a5340564 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Zola Gonano <zolagonano@protonmail.com> + +pkgname=bhsh +pkgver=0.1.0 +pkgrel=1 +pkgdesc="A Unix-like blackhole shell" +arch=('x86_64') +url="https://github.com/zolagonano/bhsh" +license=('MIT') +depends=('rust') +makedepends=('git' 'base-devel') + +source=("git+https://github.com/zolagonano/bhsh.git#tag=$pkgver") +sha256sums=("SKIP") + +build() { + cd "$srcdir/bhsh" + + cargo build --release --locked +} + +package() { + cd "$srcdir/bhsh" + + strip "target/release/bhsh" + install -Dm755 "target/release/bhsh" "$pkgdir/usr/bin/bhsh" +} + |