aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xorgxrdp/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/xorgxrdp/APKBUILD')
-rw-r--r--testing/xorgxrdp/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/xorgxrdp/APKBUILD b/testing/xorgxrdp/APKBUILD
new file mode 100644
index 0000000000..7cc545a2c4
--- /dev/null
+++ b/testing/xorgxrdp/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=xorgxrdp
+pkgver=0.2.1
+pkgrel=0
+pkgdesc="Xorg drivers for xrdp"
+url="https://github.com/neutrinolabs/xorgxrdp"
+arch="all"
+license="X11"
+depends=""
+makedepends="xorg-server-dev xrdp-dev nasm"
+install=""
+subpackages="$pkgname-dev"
+source="https://github.com/neutrinolabs/xorgxrdp/releases/download/v$pkgver/xorgxrdp-$pkgver.tar.gz"
+builddir="$srcdir/xorgxrdp-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+sha512sums="2c03baf0887bdb74fde2a9bca786bad19001a90639cbde87a543645909a307c9cc9ee88e548e029cf7a3256fc600e040e7d973756e5ab14682b1244c5922cfbf xorgxrdp-0.2.1.tar.gz"