summaryrefslogtreecommitdiff
path: root/pcr/xrdp/PKGBUILD
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2013-12-02 23:18:12 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2013-12-02 23:18:12 -0300
commitf257d3a6ec784c0d431475cd62c880c76cf3b8ab (patch)
tree6ab3b620cfcc1ba0af05a5e051b41efa9a730b83 /pcr/xrdp/PKGBUILD
parent9d6137278d57b046383d5cebab14bdacd591f272 (diff)
downloadabslibre-f257d3a6ec784c0d431475cd62c880c76cf3b8ab.tar.gz
abslibre-f257d3a6ec784c0d431475cd62c880c76cf3b8ab.tar.bz2
abslibre-f257d3a6ec784c0d431475cd62c880c76cf3b8ab.zip
xrdp-0.6.1-1: add package
Diffstat (limited to 'pcr/xrdp/PKGBUILD')
-rw-r--r--pcr/xrdp/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/pcr/xrdp/PKGBUILD b/pcr/xrdp/PKGBUILD
new file mode 100644
index 000000000..1cf561115
--- /dev/null
+++ b/pcr/xrdp/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Tomasz Zok <tomasz.zok [at] gmail.com>
+# Maintainer: techryda <techryda at silentdome dot com>
+# Contributor: Mathias R. <pu154r@overlinux.org>
+# Maintainer (Parabola): Esteban Carnevale <alfplayer@mailoo.org>
+
+pkgname=xrdp
+pkgver=0.6.1
+pkgrel=1
+pkgdesc="An open source remote desktop protocol (RDP) server"
+url="http://xrdp.sourceforge.net/"
+arch=('i686' 'x86_64' 'armv6h')
+license=('GPL')
+depends=('tigervnc')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-v$pkgver.tar.gz"
+ 'xrdp.service'
+ 'xrdp-sesman.service')
+md5sums=('26099c6588943262023607c1b4e774d8'
+ '0cb760b3e8a34f9bdf4daa871444d74c'
+ '58eb44bdc7ca5bb436d6fd66826f9b0f')
+
+prepare() {
+ cd "${pkgname}-v${pkgver}"
+ # Fix path in xrdp.sh file
+ sed -i 's|/usr/local/sbin|/usr/bin|' instfiles/xrdp.sh
+}
+
+build() {
+ cd "${pkgname}-v${pkgver}"
+ ./bootstrap
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "${pkgname}-v${pkgver}"
+ make DESTDIR="$pkgdir" install
+ cd ${pkgdir}
+ # Install systemd service files
+ mkdir -p usr/lib/systemd/system
+ cp ${srcdir}/*.service usr/lib/systemd/system
+}