summaryrefslogtreecommitdiff
path: root/user/xrx/APKBUILD
blob: f2e79d9fb0e8538cd13f303be2b010407ca044dc (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
30
31
32
33
34
35
36
37
38
39
40
# 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() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="beb505555604a18651f77dee7579d928fa0f529c45ccf77e870fc066f5d0a181e265b96b6a4a4423bd3f76b46c9eed70d513919fe1c936e0671e89ffbfa2a81e  xrx-1.0.4.tar.bz2"