diff options
Diffstat (limited to 'user/xstdcmap/APKBUILD')
-rw-r--r-- | user/xstdcmap/APKBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
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 <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +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" |