# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4util
pkgver=4.13.1
pkgrel=0
pkgdesc="Basic utility non-GUI functions for Xfce"
url="https://xfce.org/"
arch="all"
license="GPL-2.0"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
makedepends="glib-dev gtk-doc intltool"
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		--enable-gtk-doc
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="1667cc22ff72920d3280725cb40c41f5fba9dcfcba8e357ba85548c7f254a67a3ef942c1b71f0ac5c3a7fe46c8c4cb559a06a8111aa71ce1f6824d1a1c2b5063  libxfce4util-4.13.1.tar.bz2"
