blob: fa317b81829cbe06340463ce2466c16b553d6ce7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=freerdp
pkgver=1.0.1
pkgrel=0
pkgdesc="Free RDP client"
url="http://freerdp.sourceforge.net"
arch="all"
license="GPL"
depends=""
subpackages="$pkgname-dev $pkgname-plugins $pkgname-libs"
makedepends="openssl-dev libxcursor-dev cups-dev alsa-lib-dev ffmpeg-dev
cups-dev libxkbfile-dev libxinerama-dev libxv-dev libxdamage-dev
wget cmake"
source="https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-$pkgver.tar.gz"
build() {
cd "$srcdir"/FreeRDP-FreeRDP-*
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
|| return 1
make
}
package() {
cd "$srcdir"/FreeRDP-FreeRDP-*
make DESTDIR="$pkgdir" install || return 1
}
libs() {
pkgdesc="Free RDP client - Libraries"
replaces="libfreerdp"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/share "$pkgdir"/usr/lib "$subpkgdir"/usr/
}
plugins() {
pkgdesc="Free RDP client - plugins"
replaces="libfreerdp"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/freerdp "$subpkgdir"/usr/lib/
}
md5sums="1282189a87893bf196da20382e45f6c1 FreeRDP-1.0.1.tar.gz"
|