pmaports/matchbox/libxsettings-client/APKBUILD

42 lines
1.2 KiB
Text
Raw Normal View History

# Contributor: Duncan Guthrie <dguthrie@posteo.net>
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=libxsettings-client
pkgver=0.17
pkgrel=0
pkgdesc="Utility functions for the Xsettings protocol"
url="https://standards.freedesktop.org/xsettings-spec/0.5/"
arch="all"
license="GPL-2.0-or-later"
depends="libx11"
makedepends="libx11-dev gtk+2.0-dev"
source="http://http.debian.net/debian/pool/main/libx/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz
01-ignore-xsettings-common-h.patch"
builddir="${srcdir}/${pkgname}-${pkgver}"
options="!check"
subpackages="$pkgname-doc $pkgname-dev"
prepare() {
default_prepare
update_config_sub
update_config_guess
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var
make LIBS=-lX11
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="2ea1f1d239fb17f37b2ec7689aca1a848b3faee8052b622f718f9bb0f3e7b174ae5d056c4d8a27ef526ade3e0ad155ebc73de6084b837d7cb5a93bb31f92bfa7 libxsettings-client_0.17.orig.tar.gz
428a76a40ddb9a7fb3d7c461e91cff53148c9856c8a1f231f2d4f0b2b40fd1e6dbef9d67b2f745e728921ae3846f1caa1f85cd537961bbe7421fefe516f6b070 01-ignore-xsettings-common-h.patch"