summaryrefslogblamecommitdiff
path: root/user/xhost/APKBUILD
blob: f263a2a79d38d37aecb52a8f5583ad9029192b5d (plain) (tree)






























                                                                                                                                                                  
# 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"