diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-07 17:08:21 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-07-07 17:08:21 -0500 |
commit | faddf6fffa4879efb8fc3e0c3c1ee6fe05fd94d8 (patch) | |
tree | ccf82cc950461c214645b29a76f452108471f56b /pcr/xrdp/PKGBUILD | |
parent | d20b2e8a34a7e88fdf6e804b69f7c402006a40bd (diff) | |
download | abslibre-faddf6fffa4879efb8fc3e0c3c1ee6fe05fd94d8.tar.gz abslibre-faddf6fffa4879efb8fc3e0c3c1ee6fe05fd94d8.tar.bz2 abslibre-faddf6fffa4879efb8fc3e0c3c1ee6fe05fd94d8.zip |
xrdp-0.8.0-2: updating version
Diffstat (limited to 'pcr/xrdp/PKGBUILD')
-rw-r--r-- | pcr/xrdp/PKGBUILD | 71 |
1 files changed, 43 insertions, 28 deletions
diff --git a/pcr/xrdp/PKGBUILD b/pcr/xrdp/PKGBUILD index 2f7d98597..9884314c0 100644 --- a/pcr/xrdp/PKGBUILD +++ b/pcr/xrdp/PKGBUILD @@ -1,41 +1,56 @@ -# Maintainer (Arch): Tomasz Zok <tomasz.zok [at] gmail.com> -# Maintainer (Arch): techryda <techryda at silentdome dot com> -# Contributor (Arch): Mathias R. <pu154r@overlinux.org> -# Maintainer: Esteban Carnevale <alfplayer@mailoo.org> - +# 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> +# Contributor: Mathias R. <pu154r@overlinux.org> pkgname=xrdp -pkgver=0.6.1 -pkgrel=1 +pkgver=0.8.0 +pkgrel=2 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') +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' + '07f35f8700cd9384f5d13117fd3a4e04') prepare() { - cd "${pkgname}-v${pkgver}" - # Fix path in xrdp.sh file - sed -i 's|/usr/local/sbin|/usr/bin|' instfiles/xrdp.sh + cd "${pkgname}-${pkgver}" + + sed -i 's|/etc/sysconfig/xrdp|/etc/xrdp/xrdp.ini|' instfiles/xrdp.service + sed -i 's|/etc/sysconfig/xrdp|/etc/xrdp/xrdp.ini|' instfiles/xrdp-sesman.service + + sed -i 's|/usr/local/sbin|/usr/bin|' instfiles/xrdp.sh + sed -i 's|/usr/sbin|/usr/bin|' instfiles/xrdp.service + sed -i 's|/usr/sbin|/usr/bin|' instfiles/xrdp-sesman.service + + patch -p2 -b -z .orig <../fixups.patch + + ./bootstrap } build() { - cd "${pkgname}-v${pkgver}" - ./bootstrap - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin - make + cd "${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --with-systemdsystemdunitdir=/usr/lib/systemd/system \ + --enable-jpeg \ + --enable-simplesound \ + --enable-fuse \ + --enable-loadpulsemodules + make V=0 } 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 + cd "${pkgname}-${pkgver}" + make DESTDIR="$pkgdir" install + + install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } |