summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees at me.com>2018-08-03 03:09:04 -0400
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-03 09:44:29 +0000
commite973d06550cb07a4f6943de1f106bc0b615d1d29 (patch)
tree056ca4a7aa10d1f5f2f73f1f13aab0b4b7e4a760
parent1074d4e3578bb9f408c66d7d7df8c23ca96e2ef9 (diff)
downloadpackages-e973d06550cb07a4f6943de1f106bc0b615d1d29.tar.gz
packages-e973d06550cb07a4f6943de1f106bc0b615d1d29.tar.bz2
packages-e973d06550cb07a4f6943de1f106bc0b615d1d29.tar.xz
packages-e973d06550cb07a4f6943de1f106bc0b615d1d29.zip
user/xhost: pull in, fix license
-rw-r--r--user/xhost/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/xhost/APKBUILD b/user/xhost/APKBUILD
new file mode 100644
index 000000000..f263a2a79
--- /dev/null
+++ b/user/xhost/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=xhost
+pkgver=1.0.7
+pkgrel=1
+pkgdesc="Controls host and/or user access to a running X server"
+url="https://www.X.Org/"
+arch="all"
+options="!check" # No test suite.
+license="MIT X11"
+subpackages="$pkgname-doc"
+depends=""
+makedepends="libx11-dev libxmu-dev libxau-dev util-macros"
+source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="670a8c97291565f6c36c94e135f7bd60a572bb42b4fca9d2460823db0d0576187c64f9b876ed60d348029d3f74a732862eea4ce889a6b6b9c97665746a38b1d7 xhost-1.0.7.tar.bz2"