aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xorgxrdp/APKBUILD
blob: f0bfcb35770db6f5e31936055b1d89251277ec02 (plain)
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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=xorgxrdp
pkgver=0.2.6
pkgrel=0
pkgdesc="Xorg drivers for xrdp"
url="https://github.com/neutrinolabs/xorgxrdp"
arch="all !x86"
license="X11"
makedepends="xorg-server-dev xrdp-dev nasm"
subpackages="$pkgname-dev"
source="https://github.com/neutrinolabs/$pkgname/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

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

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

sha512sums="b798b1bb610fa8e1c5280177593763f15aa031920f5ca03455eed1b873678fdb72c5745198ee39901c173b5cf6aa36caf05f5d04593ae602d59f18d523c0c030  xorgxrdp-0.2.6.tar.gz"