summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Newgard2014-03-09 19:04:36 -0500
committerDoug Newgard2014-03-09 19:04:36 -0500
commit8b1faf15eb77b49497452e37079b03eb30517fe8 (patch)
treeb60ddc2342c4a87ac00cdcf48a2885b8ffb35929
parent4497c49d2552a9e6805d5fe99a55d0a06e553c3b (diff)
downloadaur-8b1faf15eb77b49497452e37079b03eb30517fe8.tar.gz
Simpler update-desktop-database handling and fix gtk-update-icon-cache
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
-rw-r--r--epour.install4
3 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b1f1ce4a93..f2644fb2545 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,7 +11,6 @@ pkgbase = epour
depends = python2-efl
depends = libtorrent
depends = hicolor-icon-theme
- depends = desktop-file-utils
source = git://git.enlightenment.org/apps/epour.git#tag=epour-0.5.2.0
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 1c9b0fb146b..945c8042552 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ pkgdesc="Torrent client based on EFL"
arch=('any')
url="http://www.enlightenment.org"
license=('GPL3')
-depends=('python2-efl' 'libtorrent' 'hicolor-icon-theme' 'desktop-file-utils')
+depends=('python2-efl' 'libtorrent' 'hicolor-icon-theme')
makedepends=('git' 'python2-distutils-extra')
install=$pkgname.install
source=("git://git.enlightenment.org/apps/$pkgname.git#tag=epour-$pkgver")
diff --git a/epour.install b/epour.install
index 83d9ec4a7ab..96195af9b52 100644
--- a/epour.install
+++ b/epour.install
@@ -1,6 +1,6 @@
post_install() {
- update-desktop-database -q
- [[ -e /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache
+ [[ -x /usr/bin/update-desktop-database ]] && update-desktop-database -q
+ [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}
post_upgrade() {