diff options
author | Oleg Shparber | 2015-11-28 21:55:54 -0500 |
---|---|---|
committer | Oleg Shparber | 2015-11-28 21:55:54 -0500 |
commit | e2b9ce13f93c0aab251352e1cdd2bc1fc1166768 (patch) | |
tree | d98b5eb88f23e023837d180a7c1c21b96cfe9f19 | |
parent | 66e6012552a938ff4604474319fef6ae9f74df9e (diff) | |
download | aur-e2b9ce13f93c0aab251352e1cdd2bc1fc1166768.tar.gz |
zeal-git: Run xdg-icon-resource after installation
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | zeal-git.install | 12 |
3 files changed, 20 insertions, 5 deletions
@@ -1,8 +1,9 @@ pkgbase = zeal-git pkgdesc = An offline API documentation browser pkgver = 0.2.1.9.ga17a0bb - pkgrel = 1 - url = http://zealdocs.org/ + pkgrel = 2 + url = https://zealdocs.org/ + install = zeal-git.install arch = i686 arch = x86_64 license = GPL3 @@ -12,6 +13,7 @@ pkgbase = zeal-git depends = qt5-imageformats depends = qt5-x11extras depends = xcb-util-keysyms + depends = xdg-utils source = git+https://github.com/zealdocs/zeal sha1sums = SKIP @@ -5,15 +5,16 @@ pkgname=zeal-git _appname=zeal pkgver=0.2.1.9.ga17a0bb -pkgrel=1 +pkgrel=2 pkgdesc="An offline API documentation browser" arch=('i686' 'x86_64') -url="http://zealdocs.org/" +url="https://zealdocs.org/" license=('GPL3') depends=('libarchive' 'qt5-webkit' 'qt5-imageformats' 'qt5-x11extras' - 'xcb-util-keysyms') + 'xcb-util-keysyms' 'xdg-utils') makedepends=('git') source=("git+https://github.com/zealdocs/$_appname") +install=zeal-git.install sha1sums=('SKIP') pkgver() { diff --git a/zeal-git.install b/zeal-git.install new file mode 100644 index 000000000000..063f500c7c94 --- /dev/null +++ b/zeal-git.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} + |