Date: Tuesday, October 14, 2014 @ 13:25:01
  Author: spupykin
Revision: 120638

upgpkg: remmina 1.1.1-2

upd

Modified:
  remmina/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-10-14 11:14:58 UTC (rev 120637)
+++ PKGBUILD    2014-10-14 11:25:01 UTC (rev 120638)
@@ -3,7 +3,7 @@
 
 pkgname=remmina
 pkgver=1.1.1
-pkgrel=1
+pkgrel=2
 pkgdesc="remote desktop client written in GTK+"
 arch=(i686 x86_64)
 url="http://freerdp.github.io/Remmina/";
@@ -29,7 +29,6 @@
 
 prepare() {
   cd ${srcdir}/Remmina-$pkgver/
-
   for i in "${source[@]}"; do
     if [[ $i == *.patch ]]; then
       patch -F100 -p1 -i "${srcdir}/${i}"
@@ -39,9 +38,10 @@
 
 build() {
   cd ${srcdir}/Remmina-$pkgver/
-
-#  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 .
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DWITH_APPINDICATOR=OFF .
   make
 }
 
@@ -48,4 +48,5 @@
 package() {
   cd ${srcdir}/Remmina-$pkgver/
   make DESTDIR=${pkgdir} install
+  rm -rf $pkgdir/build
 }

Reply via email to