summaryrefslogtreecommitdiff
path: root/user/xhost/APKBUILD
blob: 39be52023e75d7cead736404c7336d2feefe397e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=xhost
pkgver=1.0.8
pkgrel=0
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() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="55581f9bc45a70a73b13fe718ca83c4cb0a6116d26addc0f07659ebeb5bf7d2379e84cab5a1702ae77a298a66f42ae03f41ddc7d5acd61c6f18448e58ad7cb6b  xhost-1.0.8.tar.bz2"