summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17c61b91bde0685aa5da546f844627a47fb4cce1 (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: Pablo Alessandro Santos Hugen <PabloASHugen@protonmail.com>
pkgname=sandbar-git
pkgver=v0.1.r17.e64a8b7
pkgrel=1
pkgdesc="dwm-like bar for the river wayland compositor"
arch=(x86_64)
url="https://github.com/kolunmi/sandbar"
license=('GPL3')
depends=('wayland' 'pixman' 'fcft')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("sandbar::git+https://github.com/kolunmi/sandbar.git")
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

build() {
	cd "$srcdir/${pkgname%-git}"
	make
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/" install
}