diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-16 20:27:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-08-17 11:58:46 +0000 |
commit | f7f9529af53e963173b6616333d33f8f6a7f922c (patch) | |
tree | f98101f6085a906645fe9b16542ef7e902de6bbb | |
parent | cef73e52aaf3445fa8fb5ca05f6d56a1f895f6ef (diff) | |
download | aports-f7f9529af53e963173b6616333d33f8f6a7f922c.tar.bz2 aports-f7f9529af53e963173b6616333d33f8f6a7f922c.tar.xz |
main/freerdp: use new source package from upstream
Seems like it is renamed.
-rw-r--r-- | main/freerdp/APKBUILD | 15 |
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" |