summaryrefslogtreecommitdiff
path: root/legacy/lbxproxy/APKBUILD
blob: f0da569fcd3de61aa5d36d1f7c0d4916da0e92b9 (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
41
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=lbxproxy
pkgver=1.0.3
pkgrel=0
pkgdesc="X11 proxy server for the Low Bandwidth extension"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libice-dev liblbxutil-dev libx11-dev libxext-dev util-macros
	xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/lbxproxy-$pkgver.tar.bz2"

prepare() {
	default_prepare
	chmod a+w config.sub
	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="e025101ba6743f98717958c3ff561df3f0fea7b491b2a41639cb8a84ffe9d82d980dcaaa8f50408e3a1a8ecfbd29fbe599a16a0f5de454b05ff82bc2629f68f2  lbxproxy-1.0.3.tar.bz2"