summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/xgc/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xgc/APKBUILD b/user/xgc/APKBUILD
new file mode 100644
index 000000000..8e55f8a4f
--- /dev/null
+++ b/user/xgc/APKBUILD
@@ -0,0 +1,37 @@
+# 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"