summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Shparber2014-11-18 23:25:01 -0800
committerOleg Shparber2014-11-18 23:25:01 -0800
commit147544d8680116ae8f4404c62f24292b7ca48406 (patch)
tree9f7530923846422f97acd2f40e72090bbfd9d982
parentde8886b3022bbfd3e6980d7f6ab625771a2365cf (diff)
downloadaur-147544d8680116ae8f4404c62f24292b7ca48406.tar.gz
zeal-git: Update to work without libappindicator, clean PKGBUILD
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD33
2 files changed, 17 insertions, 22 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f51d513352d..621b6e74ba8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = zeal-git
pkgdesc = An offline API documentation browser
- pkgver = 0.0.0.83.94b2096
- pkgrel = 2
+ pkgver = 0.0.0.340.ed4e075
+ pkgrel = 1
url = http://zealdocs.org/
arch = i686,
arch = x86_64
license = GPL3
makedepends = git
depends = qt5-webkit
- source = git+http://github.com/jkozera/zeal
+ source = git://github.com/jkozera/zeal
sha1sums = SKIP
pkgname = zeal-git
diff --git a/PKGBUILD b/PKGBUILD
index 79c5a782f0b..faa8cfc3ed7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,35 @@
-# Maintainer: Whyme Lyu <callme5long@gmail.com>
+# Maintainer: Oleg Shparber <trollixx+aur@gmail.com>
+# Contributor: Whyme Lyu <callme5long@gmail.com>
+
pkgname=zeal-git
# The author of Zeal hasn't settled on a versioning scheme yet.
# But he's using ``0.0+1snapshot201305312045+0100-1'' on PPA.
# Guess it's safe to use 3-digit for now.
+_appname=zeal
_pkgver=0.0.0
-# makepkg will override ``pkgver''
-pkgver=0.0.0.83.94b2096
-pkgrel=2
+pkgver=0.0.0.340.ed4e075
+pkgrel=1
pkgdesc="An offline API documentation browser"
arch=('i686', 'x86_64')
url="http://zealdocs.org/"
license=('GPL3')
depends=('qt5-webkit')
makedepends=('git')
-_gitname=zeal
-source=("git+http://github.com/jkozera/$_gitname")
+source=("git://github.com/jkozera/$_appname")
sha1sums=('SKIP')
pkgver() {
- cd "$_gitname"
- echo "$_pkgver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ cd ${srcdir}/${_appname}
+ echo "$_pkgver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
- cd "$(_full_src_dir)"
- qmake
- make
+ cd ${srcdir}/${_appname}/${_appname}
+ qmake PREFIX=/usr CONFIG+=no_libappindicator
+ make
}
package() {
- cd "$(_full_src_dir)"
- make "INSTALL_ROOT=$pkgdir" install
-}
-
-_full_src_dir() {
- echo "$srcdir/$_gitname/zeal"
+ cd ${srcdir}/${_appname}/${_appname}
+ make INSTALL_ROOT="$pkgdir" install
}
-
-# vim:set ts=2 sw=2 et: