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