aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xorgxrdp/APKBUILD
blob: 0c4c317687a288604103fca7a2b4667af73955f1 (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.3
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="041754d67234055757fd13a4bf1b0e7c38f2b0a204a3bc672a72ed2e5bf0a7f71e92260dd258207d935cf952264149377fcd80c78c3cb87ff60c4b44c8ee9a51  xorgxrdp-0.2.3.tar.gz"