summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg Shparber2014-11-18 23:22:00 -0800
committerOleg Shparber2014-11-18 23:22:00 -0800
commitde8886b3022bbfd3e6980d7f6ab625771a2365cf (patch)
tree12dcfb0ed9f4664c7b20242249f71b7ecb6551ca
downloadaur-de8886b3022bbfd3e6980d7f6ab625771a2365cf.tar.gz
zeal-git: Add original PKGBUILD
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD40
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f51d513352d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = zeal-git
+ pkgdesc = An offline API documentation browser
+ pkgver = 0.0.0.83.94b2096
+ pkgrel = 2
+ url = http://zealdocs.org/
+ arch = i686,
+ arch = x86_64
+ license = GPL3
+ makedepends = git
+ depends = qt5-webkit
+ source = git+http://github.com/jkozera/zeal
+ sha1sums = SKIP
+
+pkgname = zeal-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..79c5a782f0b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: 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.
+_pkgver=0.0.0
+# makepkg will override ``pkgver''
+pkgver=0.0.0.83.94b2096
+pkgrel=2
+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")
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$_gitname"
+ echo "$_pkgver.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$(_full_src_dir)"
+ qmake
+ make
+}
+
+package() {
+ cd "$(_full_src_dir)"
+ make "INSTALL_ROOT=$pkgdir" install
+}
+
+_full_src_dir() {
+ echo "$srcdir/$_gitname/zeal"
+}
+
+# vim:set ts=2 sw=2 et: