desktop/freerdp/PKGBUILD
2017-03-12 14:05:28 +01:00

37 lines
898 B
Bash

pkgname=freerdp
pkgver=1.2.0_20170201
_commit=6001cb710dc67eb8811362b7bf383754257a902b
_pkgver=${pkgver/_/-}
_pkgver=${_pkgver/+/-}
pkgrel=1
pkgdesc="Free RDP client"
arch=('x86_64')
url="http://freerdp.sourceforge.net"
license=('GPL')
depends=('openssl' 'libxcursor' 'libcups' 'alsa-lib' 'libxext' 'libxdamage'
'ffmpeg' 'libxkbfile' 'libxinerama' 'libxv' 'libpulse')
makedepends=('krb5' 'cmake' 'damageproto' 'xmlto' 'docbook-xsl' 'git')
source=("FreeRDP-${_pkgver}::git://github.com/FreeRDP/FreeRDP.git#commit=${_commit}")
sha256sums=('SKIP')
build() {
cd "$srcdir"/FreeRDP-${_pkgver}
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DWITH_PULSE=ON \
-DWITH_CUPS=ON \
-DWITH_CHANNELS=ON \
-DWITH_CLIENT_CHANNELS=ON \
-DWITH_SERVER_CHANNELS=ON \
-DWITH_WAYLAND=ON \
.
make
}
package() {
cd "$srcdir"/FreeRDP-${_pkgver}
make DESTDIR="${pkgdir}" install
}