summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 09:21:10 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 09:21:10 +0000
commit0e7a6e1d5251cc9e6fb10a59d400765cfcaaf242 (patch)
tree3456979005b642d09af9b33d7812311fe0e5bbb4
parent5f845f41c61705de8762d7100dc90e4b1dfa69ad (diff)
downloadpackages-0e7a6e1d5251cc9e6fb10a59d400765cfcaaf242.tar.gz
packages-0e7a6e1d5251cc9e6fb10a59d400765cfcaaf242.tar.bz2
packages-0e7a6e1d5251cc9e6fb10a59d400765cfcaaf242.tar.xz
packages-0e7a6e1d5251cc9e6fb10a59d400765cfcaaf242.zip
user/xstdcmap: new package
-rw-r--r--user/xstdcmap/APKBUILD44
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"