diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-09 21:04:53 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-07-09 21:04:53 -0300 |
commit | fd5ff7e53a5b8dbabc85ab6e2ff1342b85e155b1 (patch) | |
tree | d2b16d75c64d947545149f37bda7cdb8873a4770 /community/doublecmd/PKGBUILD | |
parent | 7823c9009a845174746fd0da09af46a138481851 (diff) | |
parent | 10aa61ef39e662453e1d817046e359372fe3b326 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/aspell-pl/PKGBUILD
community/gloox/PKGBUILD
community/libircclient/PKGBUILD
community/mashup/PKGBUILD
community/omniorb/PKGBUILD
community/openbox/PKGBUILD
community/patchutils/PKGBUILD
community/rxvt-unicode/PKGBUILD
extra/mesa/PKGBUILD
extra/pygobject2/PKGBUILD
extra/qt5/PKGBUILD
extra/samba/PKGBUILD
extra/tdb/PKGBUILD
extra/transmission/PKGBUILD
extra/vim/PKGBUILD
pcr/python-sfml2/PKGBUILD
pcr/python2-sfml2/PKGBUILD
Diffstat (limited to 'community/doublecmd/PKGBUILD')
-rw-r--r-- | community/doublecmd/PKGBUILD | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/community/doublecmd/PKGBUILD b/community/doublecmd/PKGBUILD index ade9c7dae..cddc9f719 100644 --- a/community/doublecmd/PKGBUILD +++ b/community/doublecmd/PKGBUILD @@ -1,33 +1,48 @@ -# $Id: PKGBUILD 70846 2012-05-17 18:29:58Z idevolder $ +# vim:set ft=sh: +# $Id: PKGBUILD 93494 2013-07-04 12:38:35Z idevolder $ # Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com> # Contributor: (sirocco AT ngs.ru) pkgbase=doublecmd pkgname=('doublecmd-gtk2' 'doublecmd-qt') -pkgver=0.5.4 -_helpver=0.5.1 -pkgrel=2.1 +pkgver=0.5.5 +_helpver=0.5.5 +pkgrel=1 url="http://doublecmd.sourceforge.net/" arch=('i686' 'x86_64') license=('GPL') install="$pkgbase.install" provides=("$pkgbase") makedepends=('lazarus' 'qt4pas' 'gtk2') -optdepends=('lua: scripting' 'p7zip: support for 7zip archives' 'libunrar: support for rar archives') -source=("http://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-$pkgver-src.tar.gz" +optdepends=( + 'lua51: scripting' + 'p7zip: support for 7zip archives' + 'libunrar: support for rar archives' +) +source=( + "http://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-$pkgver-src.tar.gz" "http://downloads.sourceforge.net/project/$pkgbase/Double%20Commander%20Source/$pkgbase-help-$_helpver-src.tar.gz" ) -sha256sums=('480b83279adeba007ad5c54f455733fae3d9c9ee61762e6b5a63e2e67b1cd7b7' - 'd9f518e05e089b71aaa31c7d4af8177e77594a02be2c316e85e061e63b4c03e5') +sha256sums=('253ec036ec119c067f501247445acdd35d67ffd9693d246dc4e98897c6df6434' + '5c5d00187df811df0734bf751a581bce7e1bdd4cf4639b2a1101f1da8743daaf') build() { cp -a $pkgbase-$pkgver $pkgbase-gtk cp -a $pkgbase-$pkgver $pkgbase-qt cd "$srcdir/$pkgbase-gtk" + if [ "$CARCH" = "i686" ]; then + sed -e '/fPIC/d' -i "$srcdir/$pkgbase-gtk/components/doublecmd/doublecmd_common.lpk" + fi + sed -e 's/\(export\ lazbuild=\).*/\1"$(which\ lazbuild) --lazarusdir=\/usr\/lib\/lazarus"/' -i build.sh ./build.sh beta gtk2 cd "$srcdir/$pkgbase-qt" + # dont use fPIC on i686 + if [ "$CARCH" = "i686" ]; then + sed -e '/fPIC/d' -i "$srcdir/$pkgbase-qt/components/doublecmd/doublecmd_common.lpk" + fi + sed -e 's/\(export\ lazbuild=\).*/\1"$(which\ lazbuild) --lazarusdir=\/usr\/lib\/lazarus"/' -i build.sh ./build.sh beta qt } @@ -54,3 +69,4 @@ package_doublecmd-qt() { cd "$srcdir/$pkgbase-help-$_helpver" cp -a * "$pkgdir/usr/share/$pkgbase/doc/" } + |