summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2bd15bad9f096ded048b9255b2a47fb8c35ed592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=rootbar-hg
pkgver=r98.63ee1eed0bfc
pkgrel=1
pkgdesc="Status bar for the Sway Compositor"
arch=('x86_64')
url="https://hg.sr.ht/~scoopta/rootbar"
license=('GPL3')
depends=('wayland' 'gtk3' 'json-c' 'libpulse')
makedepends=('mercurial')
source=("${pkgname}::hg+$url")
sha256sums=('SKIP')
pkgver() {
        cd "$pkgname"
        printf "r%s.%s" "$(hg identify -n)" "$(hg identify -i)"
}
build() {
        cd "${pkgname}/Release"
        make
}
package() {
        mkdir -p "$pkgdir/usr/bin"
        cp ${pkgname}/Release/rootbar "$pkgdir/usr/bin/"
}