blob: 50605b55e284d49e73e6f22f67f5a1036ad896bf (
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: Pierre Dommerc <dommerc.pierre@gmail.com>
pkgname=baru
pkgver=0.4.3
pkgrel=1
pkgdesc='A simple system monitor for WM statusbar'
arch=('x86_64')
url='https://github.com/doums/baru'
license=('MPL-2.0')
depends=('libnl' 'libpulse')
makedepends=('rust' 'cargo')
provides=('baru')
conflicts=('baru')
options=(!debug)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('1e4bf37b819e979f3b2782dc08e091a9159eedfefb2b2880eb8c6c1e4066f3e5')
build() {
cd "$pkgname-$pkgver"
cargo build --release --locked
}
package() {
cd "$pkgname-$pkgver"
install -Dvm 755 "target/release/baru" "$pkgdir/usr/bin/baru"
install -Dvm 644 "baru.yaml" "$pkgdir/usr/share/baru/baru.yaml"
}
|