summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 05:14:13 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 05:14:13 +0000
commitfcc1079a264b5cb0f39be4b5057b34a30ee016ab (patch)
tree95e2b43bf81387d8710a64910cbec30e5d812255 /user
parent31da4b3b400783e2dc2c124e178e289270c7d5a7 (diff)
downloadpackages-fcc1079a264b5cb0f39be4b5057b34a30ee016ab.tar.gz
packages-fcc1079a264b5cb0f39be4b5057b34a30ee016ab.tar.bz2
packages-fcc1079a264b5cb0f39be4b5057b34a30ee016ab.tar.xz
packages-fcc1079a264b5cb0f39be4b5057b34a30ee016ab.zip
user/xgc: new package
Diffstat (limited to 'user')
-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"