summaryrefslogtreecommitdiff
path: root/community/doublecmd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/doublecmd
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/doublecmd')
-rw-r--r--community/doublecmd/PKGBUILD72
-rw-r--r--community/doublecmd/doublecmd.install34
2 files changed, 0 insertions, 106 deletions
diff --git a/community/doublecmd/PKGBUILD b/community/doublecmd/PKGBUILD
deleted file mode 100644
index 366cfdf1c..000000000
--- a/community/doublecmd/PKGBUILD
+++ /dev/null
@@ -1,72 +0,0 @@
-# vim:set ft=sh:
-# $Id: PKGBUILD 94328 2013-07-20 16:51:21Z 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.6
-_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=(
- '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=('b909ee5c57cb2803e4393163f5c44513144cb32e304fa2e1dfee6f33d0999bc5'
- '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
-}
-
-package_doublecmd-gtk2() {
- pkgdesc="twin-panel (commander-style) file manager (GTK)"
- depends=('gtk2')
- cd "$srcdir/$pkgbase-gtk"
- sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i ./install/linux/install.sh
- ./install/linux/install.sh --install-prefix="$pkgdir"
-
- # install doc
- cd "$srcdir/$pkgbase-help-$_helpver"
- cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
-}
-
-package_doublecmd-qt() {
- pkgdesc="twin-panel (commander-style) file manager (QT)"
- depends=('qt4pas')
- cd "$srcdir/$pkgbase-qt"
- sed -e 's/LIB_SUFFIX=.*/LIB_SUFFIX=/g' -i ./install/linux/install.sh
- ./install/linux/install.sh --install-prefix="$pkgdir"
-
- # install doc
- cd "$srcdir/$pkgbase-help-$_helpver"
- cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
-}
-
diff --git a/community/doublecmd/doublecmd.install b/community/doublecmd/doublecmd.install
deleted file mode 100644
index c27b5bb23..000000000
--- a/community/doublecmd/doublecmd.install
+++ /dev/null
@@ -1,34 +0,0 @@
-update_icons() {
-
- # Setup Menus
- if which update-desktop-database
- then
- update-desktop-database -q /usr/share/applications > /dev/null 2>&1
- fi
-
- # Setup MIME types
- if which update-mime-database
- then
- update-mime-database /usr/share/mime > /dev/null 2>&1
- fi
-
- # Setup Icons
- touch -c /usr/share/icons/hicolor
- if which gtk-update-icon-cache
- then
- gtk-update-icon-cache -tq /usr/share/icons/hicolor > /dev/null 2>&1
- fi
-
-}
-
-post_install() {
- update_icons
-}
-
-post_upgrade() {
- update_icons
-}
-
-post_remove() {
- update_icons
-}