# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=libxsettings
pkgver=0.11
pkgrel=0
pkgdesc="Xsettings protocol library for GPE Palmtop Environment" 
url="https://standards.freedesktop.org/xsettings-spec/0.5/"
arch="all"
license="GPL-2.0-or-later"
depends="libx11"
makedepends="libx11-dev"
source="http://http.debian.net/debian/pool/main/libx/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz"
builddir="${srcdir}/${pkgname}-${pkgver}"
subpackages="$pkgname-dev"
options="!check"

dev () {
	cd "$builddir"
	mkdir -p "$subpkgdir"/usr
	make PREFIX="/usr" DESTDIR="$subpkgdir" install-devel
}

build () {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make PREFIX="/usr" DESTDIR="$pkgdir" install
}

sha512sums="9b385949673e5de28d711dcbcd3b924fe9da9176002bfb32785f384220d4e4d6a66a12cf0cfc36a77994fe4d8623e6557ae09995889f915b9c319147ed134942  libxsettings_0.11.orig.tar.gz"
