blob: c8a26d0337095577f4ef91c2b4326c275aeb8dba (
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
|
# Maintainer: Morteza NourelahiAlamdari <m@0t1.me>
pkgname=rezolus
pkgver=2.16.3
pkgrel=1
pkgdesc="Systems performance telemetry"
arch=("x86_64")
url="https://github.com/twitter/${pkgname}"
license=("Apache-2.0")
makedepends=("rust" "bcc")
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=("85ede9a4738c97691485ea20a7720b310108572ab7ae3fecf45188030cb42a78")
build() {
cd ${pkgname}-${pkgver}
git init .
cargo build --release --features bpf
}
package() {
install -Dm755 "${pkgname}-${pkgver}/target/release/${pkgname}" "${pkgdir}/usr/local/bin/${pkgname}"
install -Dvm644 "${pkgname}-${pkgver}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|