desktop/freerdp/PKGBUILD

37 lines
898 B
Bash
Raw Normal View History

2017-03-12 21:05:28 +08:00
pkgname=freerdp
2017-03-12 21:05:28 +08:00
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')
2017-03-12 21:05:28 +08:00
makedepends=('krb5' 'cmake' 'damageproto' 'xmlto' 'docbook-xsl' 'git')
source=("FreeRDP-${_pkgver}::git://github.com/FreeRDP/FreeRDP.git#commit=${_commit}")
sha256sums=('SKIP')
build() {
2017-03-12 21:05:28 +08:00
cd "$srcdir"/FreeRDP-${_pkgver}
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
2017-03-12 21:05:28 +08:00
-DWITH_PULSE=ON \
-DWITH_CUPS=ON \
-DWITH_CHANNELS=ON \
-DWITH_CLIENT_CHANNELS=ON \
-DWITH_SERVER_CHANNELS=ON \
-DWITH_WAYLAND=ON \
.
make
}
package() {
2017-03-12 21:05:28 +08:00
cd "$srcdir"/FreeRDP-${_pkgver}
make DESTDIR="${pkgdir}" install
}