blob: 01c64295bc948d729f2b9ee444604f729497614d (
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: Martà Comas <m4rti21@proton.me>
pkgname='blks-git'
pkgver=r8.09582d6
pkgrel=1
pkgdesc='dwmblocks/slstatus-like program written in go'
arch=('x86_64')
url="https://codeberg.org/Marti/blks"
license=('GPL')
makedepends=('git' 'go')
source=("${pkgname}::git+https://codeberg.org/Marti/blks.git")
md5sums=('SKIP')
options=('!debug')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$srcdir/$pkgname"
go build
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 "./blks" "$pkgdir/usr/bin/blks"
install -Dm644 "./README.md" "$pkgdir/usr/share/doc/blks"
}
|