summaryrefslogblamecommitdiff
path: root/user/xstdcmap/APKBUILD
blob: 5c2622cf3afab489d9161a763f2accce831a79e4 (plain) (tree)











































                                                                                                                                                                     
# 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"