summaryrefslogblamecommitdiff
path: root/user/xgc/APKBUILD
blob: 472ea5da1a7e6c57c8ba1815ca28f35e2fcf82ff (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15













                                                                      









                                         


                  


                                                                                                                                                                
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xgc
pkgver=1.0.5
pkgrel=0
pkgdesc="X11 graphics core demonstration"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="cmd:lex cmd:yacc libxaw-dev libxt-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xgc-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="5943d13b9e0ed5e1b66d26eaa4b39d16d71f0df23e3ea93bfc397b6303516b161c2b60b24679ed75b640bf2493e66682d35efc7cedd41c5b57caa65f309a8314  xgc-1.0.5.tar.bz2"