diff options
Diffstat (limited to 'community/remmina')
-rw-r--r-- | community/remmina/PKGBUILD | 43 |
1 files changed, 31 insertions, 12 deletions
diff --git a/community/remmina/PKGBUILD b/community/remmina/PKGBUILD index f432614c5..3aba94c01 100644 --- a/community/remmina/PKGBUILD +++ b/community/remmina/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 72477 2012-06-15 12:20:16Z spupykin $ +# $Id: PKGBUILD 72637 2012-06-18 09:24:39Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=remmina pkgver=1.0.0 -pkgrel=8 -pkgdesc="Remmina is a remote desktop client written in GTK+. " +pkgrel=9 +pkgdesc="remote desktop client written in GTK+" arch=(i686 x86_64) url="http://remmina.sourceforge.net/" license=('GPL') @@ -18,19 +18,38 @@ optdepends=('libxkbfile' replaces=('remmina-plugins') provides=('remmina-plugins') install=remmina.install -source=(https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz - 'https://github.com/FreeRDP/Remmina/commit/569d9bb702d06c061dfbbf3c590d57ea83a04369.diff' - 'https://github.com/FreeRDP/Remmina/commit/f7d1038ba358a295fb46c681db5c47e4ead97306.diff' - 'https://github.com/FreeRDP/Remmina/commit/1aebfc027507607d5f061ba9072eb952e07214d1.diff') +source=("https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz" + 'https://github.com/FreeRDP/Remmina/commit/569d9bb7.patch' + 'https://github.com/FreeRDP/Remmina/commit/f7d1038b.patch' + 'https://github.com/FreeRDP/Remmina/commit/1aebfc02.patch' + 'https://github.com/FreeRDP/Remmina/commit/3ebdd6e7.patch' + 'https://github.com/FreeRDP/Remmina/commit/97c2af8c.patch' + 'https://github.com/FreeRDP/Remmina/commit/84327f81.patch' + 'https://github.com/FreeRDP/Remmina/commit/c1ef3a16.patch' + 'https://github.com/FreeRDP/Remmina/commit/6ee20289.patch' + 'https://github.com/FreeRDP/Remmina/commit/b2277827.patch' + 'https://github.com/FreeRDP/Remmina/commit/cb0b209b.patch') md5sums=('701c540acaab961bc3adf130a2ddb8b1' - 'a979c898d5e53446cec9d01912ad9243' - 'b2a9c0e80ac7b0c8a26935bbe289aa3b' - 'd7db32f63996df1ea661c7fff24262d4') + '23927a584c23d0da7a893c1f39d53857' + '40f5ce2f30c8ce8ae8a4ebcee52874ab' + 'c842ba295c2327ab4d0819fc4a5bc03f' + '9312b5bf953a63e6203f0d0be6cb8134' + '65bfcc39ae51343b90928ea329cc4900' + '42b971116f887657fc210da70c3afba5' + '04b5bc1190b53211747e097897d1d19c' + 'ce0b538ff850556b2ad8fc4e4736039e' + '3bc1a4e50cdd864c0e2d7c91a1e02e32' + 'b9023ea4f36c31c3d4e98cfc472c1a09') build() { cd ${srcdir}/FreeRDP-Remmina-*/ - patch -p1 -i "${srcdir}/569d9bb702d06c061dfbbf3c590d57ea83a04369.diff" - patch -p1 -i "${srcdir}/f7d1038ba358a295fb46c681db5c47e4ead97306.diff" + + for i in ${source[@]}; do + if [ ${i:(-6)} == ".patch" ]; then + patch -p1 -i "${srcdir}/${i:(-14)}" + fi + done + export LDFLAGS="-lX11 -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lpthread -lgnutls" cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_APPINDICATOR=OFF . make |