blob: a6b4dbce89fa29c95fb2f38033f20e05dc4f31d4 (
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
32
33
|
# Maintainer: Energi <lukas.bloznelis@gmail.com>
pkgname=krowbar
pkgver=0.2.5
pkgrel=1
pkgdesc="BSPWM status bar"
arch=(x86_64)
url="https://github.com/bloznelis/krowbar"
license=(MIT)
groups=()
depends=(gtk4)
makedepends=(git cargo)
provides=("$pkgname")
conflicts=("$pkgname")
source=("git+$url")
source=("$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('SKIP')
build() {
cd "${pkgname}-${pkgver}"
cargo build --release
}
check() {
cd "${pkgname}-${pkgver}"
cargo check
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 target/release/$pkgname "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
|