From 0e7a6e1d5251cc9e6fb10a59d400765cfcaaf242 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 1 Jan 2019 09:21:10 +0000 Subject: user/xstdcmap: new package --- user/xstdcmap/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 user/xstdcmap/APKBUILD (limited to 'user/xstdcmap/APKBUILD') diff --git a/user/xstdcmap/APKBUILD b/user/xstdcmap/APKBUILD new file mode 100644 index 000000000..5c2622cf3 --- /dev/null +++ b/user/xstdcmap/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=xstdcmap +pkgver=1.0.3 +pkgrel=0 +pkgdesc="Define standard X11 colour map properties" +url="https://www.X.Org/" +arch="all" +license="X11" +depends="" +makedepends="libx11-dev libxmu-dev util-macros xorgproto-dev" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/app/xstdcmap-$pkgver.tar.bz2" + +prepare() { + cd "$builddir" + default_prepare + chmod a+w config.sub + update_config_sub +} + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="8037ddb9c6b8f3a65d35637a1fca2b1b6c7e76afce5c13b1947cf72c3ca87679aa2ed05caf308d90549432b7fe029a522a99f32701bd0087c140bf4fafdb4d49 xstdcmap-1.0.3.tar.bz2" -- cgit v1.2.3-60-g2f50