2015-06-19 00:35:13 +00:00
|
|
|
# Maintainer: Brian Bidulock <bidulock@openss7.org>
|
|
|
|
# Contributo: Jianhui Z <jianhui@outlook.com>
|
|
|
|
# Contributo: Tau Tsao <realturner at gmail.com>
|
|
|
|
# Contributor: Tomasz Zok <tomasz.zok [at] gmail.com>
|
|
|
|
# Contributor: techryda <techryda at silentdome dot com>
|
2013-11-18 00:26:21 +00:00
|
|
|
# Contributor: Mathias R. <pu154r@overlinux.org>
|
|
|
|
pkgname=xrdp
|
2015-06-19 00:35:13 +00:00
|
|
|
pkgver=0.8.0
|
2016-01-29 01:01:46 +00:00
|
|
|
pkgrel=4
|
2013-11-18 00:26:21 +00:00
|
|
|
pkgdesc="An open source remote desktop protocol (RDP) server"
|
|
|
|
url="http://xrdp.sourceforge.net/"
|
2013-11-24 23:40:08 +00:00
|
|
|
arch=('i686' 'x86_64' 'armv6h')
|
2015-06-19 00:35:13 +00:00
|
|
|
license=('Apache')
|
|
|
|
depends=('tigervnc' 'libjpeg-turbo' 'libxrandr' 'libpulse' 'fuse')
|
|
|
|
backup=('etc/xrdp/sesman.ini' 'etc/xrdp/xrdp.ini')
|
|
|
|
install=xrdp.install
|
|
|
|
source=(https://github.com/neutrinolabs/${pkgname}/archive/v${pkgver}.tar.gz
|
|
|
|
fixups.patch)
|
|
|
|
md5sums=('2b0c3affc65ee77ad251514c62896757'
|
2016-01-29 01:01:46 +00:00
|
|
|
'e6985363c6f13e22272afdc6a7dddc96')
|
2013-11-18 00:26:21 +00:00
|
|
|
|
|
|
|
prepare() {
|
2015-06-19 00:35:13 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
patch -p2 -b -z .orig <../fixups.patch
|
|
|
|
./bootstrap
|
2013-11-18 00:26:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2015-06-19 00:35:13 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--sbindir=/usr/bin \
|
2015-08-31 00:38:44 +00:00
|
|
|
--with-systemdsystemunitdir=/usr/lib/systemd/system \
|
2015-06-19 00:35:13 +00:00
|
|
|
--enable-jpeg \
|
|
|
|
--enable-simplesound \
|
|
|
|
--enable-fuse \
|
|
|
|
--enable-loadpulsemodules
|
|
|
|
make V=0
|
2013-11-18 00:26:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-06-19 00:35:13 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
|
|
|
|
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
2013-11-18 00:26:21 +00:00
|
|
|
}
|