summaryrefslogtreecommitdiff
path: root/user/xfwp/APKBUILD
blob: 46540f2cec06213210ccfab47b237034b21270b5 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=xfwp
pkgver=1.0.3
pkgrel=0
pkgdesc="X11 firewall proxy"
url="https://www.X.Org/"
arch="all"
license="X11"
depends=""
makedepends="libice-dev util-macros xorgproto-dev"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xfwp-$pkgver.tar.bz2"

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

check() {
	cd "$builddir"
	make check
}

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

sha512sums="493cfff0c90ada372c76f3fc49278bc4b1bf30c013f325d0358d0bd7004144bd540e86dee0fadd0bfbe1c47b91437a61dd7e9ff21d747d75ce9f42750fb17609  xfwp-1.0.3.tar.bz2"