blob: 4762a5340564e9724f4c94044a8916b3d134a441 (
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
27
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"
}
|