diff options
-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 +} + |