blob: 52b3692ad7bf4d7f78385c80762076cde37beea9 (
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
29
30
31
|
# Maintainer: Wesley Moore <wes@wezm.net>
_pkgname="bb-rs"
pkgname="${_pkgname}-git"
pkgver=r8.f759b54
pkgrel=1
pkgdesc='Simple process viewer in Rust'
arch=('x86_64')
url="https://github.com/epilys/bb"
license=('GPL3')
depends=()
conflicts=('bb-rs' 'bb')
makedepends=('rust' 'cargo')
source=("${_pkgname}::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${_pkgname}"
cargo build --release
}
package() {
cd "${_pkgname}"
install -Dm755 "target/release/bb" "$pkgdir/usr/bin/bb"
}
|