Date: Wednesday, January 21, 2015 @ 12:31:57
  Author: idevolder
Revision: 126353

upgpkg: doublecmd 0.5.11-2

fixes FS#43435

Modified:
  doublecmd/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2015-01-21 09:55:57 UTC (rev 126352)
+++ PKGBUILD    2015-01-21 11:31:57 UTC (rev 126353)
@@ -7,7 +7,7 @@
 pkgname=('doublecmd-gtk2' 'doublecmd-qt')
 pkgver=0.5.11
 _helpver=0.5.5
-pkgrel=1
+pkgrel=2
 url="http://doublecmd.sourceforge.net/";
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -25,10 +25,17 @@
        "http://www.herecura.be/files/lazarus-20140321-2.tar.gz";
 )
 
+prepare() {
+       cd "$pkgbase-$pkgver"
+       sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i install/linux/install.sh
+
+       cd "$srcdir"
+
+       cp -a "$pkgbase-$pkgver" "$pkgbase-gtk"
+       cp -a "$pkgbase-$pkgver" "$pkgbase-qt"
+}
+
 build() {
-       cp -a $pkgbase-$pkgver $pkgbase-gtk
-       cp -a $pkgbase-$pkgver $pkgbase-qt
-
        msg2 'build gtk'
        gtkdir="$srcdir/$pkgbase-gtk"
        cd "$gtkdir"

Reply via email to