blob: 8deaf21b131b921aeb12a4756a1ce451f4637ee4 (
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: Radosław Kintzi <r.kintzi@gobytes.dev>
pkgname=statusbar
pkgver=0.5.3
pkgrel=2
pkgdesc='A feature complete, customizable and extendable swaybar/i3bar content generator'
arch=('x86_64')
url="https://gobytes.dev/$pkgname"
license=('Apache 2.0')
depends=('libpulse.so')
makedepends=('go' 'scdoc')
source=("https://git.sr.ht/~rkintzi/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('b7d427f366ec992b53d2c1b8d8c9ae62c4f0bf13450b59ed18c12b40825b6acc')
prepare(){
cd "$pkgname-v$pkgver"
mkdir -p build/
}
build() {
cd "$pkgname-v$pkgver"
make
}
check() {
cd "$pkgname-v$pkgver"
go test ./...
}
package() {
cd "$pkgname-v$pkgver"
DESTDIR=${pkgdir} PREFIX=/usr make install
install -d ${pkgdir}/usr/share/statusbar
install README.md ${pkgdir}/usr/share/statusbar
}
|