# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-taskmanager
pkgver=1.5.7
pkgrel=0
pkgdesc="A simple taskmanager for the Xfce Desktop Environment"
url="https://goodies.xfce.org/projects/applications/xfce4-taskmanager"
arch="all"
license="GPL-2.0-or-later"
makedepends="libxfce4ui-dev libxmu-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/apps/xfce4-taskmanager/${pkgver%.*}/xfce4-taskmanager-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
b9c8a3d088b116ba51e3db8685052f68702283509d7a7a9e7a54c079fcdfefa22b019bc0f1572546907da1c8fcd0a98ae4320f7b99a3e77f49ed1a8e86f41a80  xfce4-taskmanager-1.5.7.tar.bz2
"
