aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/freerdp/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/freerdp/APKBUILD b/main/freerdp/APKBUILD
index 5e627b8694..a04b1fe074 100644
--- a/main/freerdp/APKBUILD
+++ b/main/freerdp/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=freerdp
pkgver=1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Free RDP client"
url="http://freerdp.sourceforge.net"
arch="all"
@@ -10,13 +10,14 @@ 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
+ cmake"
+source="https://github.com/downloads/FreeRDP/FreeRDP/freerdp-$pkgver.tar.gz
pluginpath.patch
futimens.patch"
+_builddir="$srcdir"/freerdp-$pkgver
prepare() {
- cd "$srcdir"/FreeRDP-FreeRDP-*
+ cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -25,7 +26,7 @@ prepare() {
}
build() {
- cd "$srcdir"/FreeRDP-FreeRDP-*
+ cd "$_builddir"
export CFLAGS="$CFLAGS -D_BSD_SOURCE"
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -35,7 +36,7 @@ build() {
}
package() {
- cd "$srcdir"/FreeRDP-FreeRDP-*
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
@@ -53,6 +54,6 @@ plugins() {
mv "$pkgdir"/usr/lib/freerdp "$subpkgdir"/usr/lib/
}
-md5sums="1282189a87893bf196da20382e45f6c1 FreeRDP-1.0.1.tar.gz
+md5sums="c843185e0ff22ce8409954651718f338 freerdp-1.0.1.tar.gz
f18b6a675341d8e9755941afd4fc8d82 pluginpath.patch
b9673acd41c4205cd32e5412dcb07515 futimens.patch"