summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/doublecmd/PKGBUILD21
-rw-r--r--libre/doublecmd/doublecmd.install34
2 files changed, 10 insertions, 45 deletions
diff --git a/libre/doublecmd/PKGBUILD b/libre/doublecmd/PKGBUILD
index 96a4f6712..50282388e 100644
--- a/libre/doublecmd/PKGBUILD
+++ b/libre/doublecmd/PKGBUILD
@@ -1,5 +1,5 @@
# vim:set ft=sh:
-# $Id: PKGBUILD 168577 2016-03-27 20:15:49Z idevolder $
+# $Id: PKGBUILD 173032 2016-04-30 05:32:36Z idevolder $
# Maintainer (Arch): BlackIkeEagle <ike DOT devolder AT gmail DOT com>
# Contributor (Arch): (sirocco AT ngs.ru)
# Maintainer: André Silva <emulatorman@parabola.nu>
@@ -9,11 +9,10 @@ _pkgbase=$pkgbase-libre
pkgname=("$pkgbase-gtk2" "$pkgbase-qt")
pkgver=0.7.1
_helpver=0.6.0
-pkgrel=1.parabola1
+pkgrel=2.parabola1
url="http://$pkgbase.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL')
-install="$pkgbase.install"
provides=("$pkgbase")
makedepends=('lazarus' 'qt4pas' 'gtk2')
optdepends=(
@@ -30,6 +29,12 @@ source=(
'libre.patch'
'help-libre.patch'
)
+mksha256sums=('ecfe1fe8d6026181ae03a3defa4ec73226844a2bca8935bab1b66cc2c604fbbf')
+sha256sums=('7646df5189691ad704ded513b9717d3b724d23ad34fda50b40406afda5d13d05'
+ 'd50a58f0e8c25c07720f2afd987213f330dfce268e2aef349d1da3de2eef1c39'
+ '16560ad7403ffbee1800384768828e1fad924d03068c6248b68a78c393fc4e20'
+ 'a23303f1719be08a59038ce7a256d582868cdd3e19cda2537c4a23d3480a40f9'
+ '62bc9fd628ca8dc11446f2f3b44ebf86bbf1776a7e8def11fbeb77589e9a5a6e')
mksource() {
cd "$pkgbase-$pkgver"
@@ -80,7 +85,7 @@ build() {
package_doublecmd-gtk2() {
pkgdesc="twin-panel (commander-style) file manager (GTK), without nonfree decompression engine for RAR archives and support for nonfree unace and unarj"
- depends=('gtk2')
+ depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
conflicts=("$pkgbase-qt" "$_pkgbase-gtk2" "$pkgbase-gtk2-libre")
replaces=("$_pkgbase-gtk2" "$pkgbase-gtk2-libre")
provides=("$pkgbase-gtk2-libre")
@@ -94,7 +99,7 @@ package_doublecmd-gtk2() {
package_doublecmd-qt() {
pkgdesc="twin-panel (commander-style) file manager (QT), without nonfree decompression engine for RAR archives and support for nonfree unace and unarj"
- depends=('qt4pas')
+ depends=('qt4pas' 'desktop-file-utils' 'hicolor-icon-theme' 'shared-mime-info')
conflicts=("$pkgbase-gtk2" "$_pkgbase-qt" "$pkgbase-qt-libre")
replaces=("$_pkgbase-qt" "$pkgbase-qt-libre")
provides=("$pkgbase-qt-libre")
@@ -106,9 +111,3 @@ package_doublecmd-qt() {
cp -a * "$pkgdir/usr/share/$pkgbase/doc/"
}
-mksha256sums=('ecfe1fe8d6026181ae03a3defa4ec73226844a2bca8935bab1b66cc2c604fbbf')
-sha256sums=('7646df5189691ad704ded513b9717d3b724d23ad34fda50b40406afda5d13d05'
- 'd50a58f0e8c25c07720f2afd987213f330dfce268e2aef349d1da3de2eef1c39'
- '16560ad7403ffbee1800384768828e1fad924d03068c6248b68a78c393fc4e20'
- 'a23303f1719be08a59038ce7a256d582868cdd3e19cda2537c4a23d3480a40f9'
- '62bc9fd628ca8dc11446f2f3b44ebf86bbf1776a7e8def11fbeb77589e9a5a6e')
diff --git a/libre/doublecmd/doublecmd.install b/libre/doublecmd/doublecmd.install
deleted file mode 100644
index c27b5bb23..000000000
--- a/libre/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
-}