summaryrefslogtreecommitdiff
path: root/user/xrx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/xrx/APKBUILD')
-rw-r--r--user/xrx/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/user/xrx/APKBUILD b/user/xrx/APKBUILD
new file mode 100644
index 000000000..97e71a06d
--- /dev/null
+++ b/user/xrx/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xrx
+pkgver=1.0.4
+pkgrel=0
+pkgdesc="X11 Remote eXecution system"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends="xtrans"
+makedepends="libice-dev libx11-dev libxau-dev libxaw-dev libxext-dev libxt-dev
+ xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xrx-$pkgver.tar.bz2"
+
+prepare() {
+ cd "$builddir"
+ default_prepare
+ 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="beb505555604a18651f77dee7579d928fa0f529c45ccf77e870fc066f5d0a181e265b96b6a4a4423bd3f76b46c9eed70d513919fe1c936e0671e89ffbfa2a81e xrx-1.0.4.tar.bz2"