summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD7
-rw-r--r--zeal-git.install12
3 files changed, 20 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2cee1040b13d..47c85935d1dd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 3bf8ade08cf0..70877ae133b0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
+}
+