# Contributor: Magnus Sandin <magnus.sandin@gmail.com>
# Maintainer: Magnus Sandin <magnus.sandin@gmail.com>
pkgname=xob
pkgver=0.3
pkgrel=0
pkgdesc="A lightweight overlay bar for the X Window System"
url="https://github.com/florentc/xob"
arch="all"
license="GPL-3.0-or-later"
subpackages="$pkgname-doc"
makedepends="
	libconfig-dev
	libxrender-dev
	"
source="
	$pkgname-$pkgver.tar.gz::https://github.com/florentc/xob/archive/refs/tags/v$pkgver.tar.gz
	"
options="!check" # No tests available

build() {
	make sysconfdir="/etc" prefix="/usr"
}

package() {
	make install DESTDIR="$pkgdir" sysconfdir="/etc" prefix="/usr"
}


sha512sums="
b599ab37fb9eda15ecb4b6963eb4ca993905e8e34af8496a8a92de50b20724c799f222d5e37a430a9499df2b2c0ceb322f607e2d0e82db01cffba646ab9e3309  xob-0.3.tar.gz
"
