diff options
-rw-r--r-- | libre/doublecmd/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/libre/doublecmd/PKGBUILD b/libre/doublecmd/PKGBUILD index c1d13f536..6218edeb7 100644 --- a/libre/doublecmd/PKGBUILD +++ b/libre/doublecmd/PKGBUILD @@ -1,5 +1,5 @@ # vim:set ft=sh: -# $Id: PKGBUILD 119649 2014-09-27 15:00:51Z idevolder $ +# $Id: PKGBUILD 126353 2015-01-21 11:31:57Z idevolder $ # Maintainer (Arch): BlackIkeEagle <ike DOT devolder AT gmail DOT com> # Contributor (Arch): (sirocco AT ngs.ru) @@ -8,7 +8,7 @@ _pkgbase=$pkgbase-libre pkgname=("$pkgbase-gtk2" "$pkgbase-qt") pkgver=0.5.11 _helpver=0.5.5 -pkgrel=1.parabola2 +pkgrel=2.parabola1 url="http://$pkgbase.sourceforge.net/" arch=('i686' 'x86_64' 'mips64el') license=('GPL') @@ -31,14 +31,15 @@ source=( ) mksource() { - cd "$srcdir/$pkgbase-$pkgver" + cd "$pkgbase-$pkgver" msg2 'remove nonfree unRAR utility files from the source' rm -rv install/linux/deb/libunrar } prepare() { - cd "$srcdir/$pkgbase-$pkgver" + cd "$pkgbase-$pkgver" + sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i install/linux/install.sh msg2 'remove nonfree libunrar, unace, unarj support and references' rm -rv plugins/wcx/unrar @@ -50,12 +51,14 @@ prepare() { msg2 'remove nonfree libunrar, unace, unarj support and references on the help' patch -Np1 -i ../help-libre.patch + + 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" |