aboutsummaryrefslogtreecommitdiffstats
path: root/main/freerdp/APKBUILD
blob: 5c219e515b7b7e479491574650cf1b9c724da826 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=freerdp
pkgver=0.8.2
pkgrel=0
pkgdesc="Free RDP client"
url="http://freerdp.sourceforge.net"
license="GPL"
depends=""
subpackages="$pkgname-dev $pkgname-doc libfreerdp"
makedepends="openssl-dev libxcursor-dev cups-dev alsa-lib-dev"
source="http://downloads.sourceforge.net/project/freerdp/${pkgver%.*}/freerdp-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() { 
	cd "$_builddir"
	./configure --prefix=/usr
	make
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

libfreerdp() {
	pkgdesc="Free RDP client - Libraries"
	mkdir -p "$subpkgdir"/usr
	mv "$pkgdir"/usr/share "$pkgdir"/usr/lib "$subpkgdir"/usr/
}

md5sums="cde590336292c977dfc1b4b7badf24d2  freerdp-0.8.2.tar.gz"