# 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() { 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="5943d13b9e0ed5e1b66d26eaa4b39d16d71f0df23e3ea93bfc397b6303516b161c2b60b24679ed75b640bf2493e66682d35efc7cedd41c5b57caa65f309a8314 xgc-1.0.5.tar.bz2"