summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/xiphos-git/PKGBUILD34
-rw-r--r--pcr/xiphos-git/xiphos-git.install14
2 files changed, 48 insertions, 0 deletions
diff --git a/pcr/xiphos-git/PKGBUILD b/pcr/xiphos-git/PKGBUILD
new file mode 100644
index 000000000..a560c4f0f
--- /dev/null
+++ b/pcr/xiphos-git/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+pkgname=xiphos-git
+pkgver=r3890
+pkgrel=1
+pkgdesc="A Bible study tool -- git version"
+arch=('i686' 'x86_64')
+url="http://xiphos.org"
+license=('GPL')
+depends=('webkitgtk' 'libgsf' 'gconf' 'sword' 'gtkhtml4' 'biblesync')
+makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'git')
+provides=('gnomesword' 'xiphos')
+conflicts=('gnomesword' 'xiphos' 'xiphos-svn')
+install=$pkgname.install
+source=(git+https://github.com/crosswire/xiphos.git)
+md5sums=('SKIP')
+_gitname=xiphos
+
+pkgver() {
+ cd "$_gitname"
+ printf "r%s" $(git rev-list --count HEAD)
+}
+
+build() {
+ cd "$_gitname"
+ CXX=g++ python2 ./waf --prefix=/usr configure
+ python2 ./waf --prefix=/usr build
+}
+
+package() {
+ cd "$_gitname"
+ python2 ./waf --destdir=$pkgdir --no-post-install install
+}
diff --git a/pcr/xiphos-git/xiphos-git.install b/pcr/xiphos-git/xiphos-git.install
new file mode 100644
index 000000000..3e71bd50b
--- /dev/null
+++ b/pcr/xiphos-git/xiphos-git.install
@@ -0,0 +1,14 @@
+pkgname=xiphos-git
+
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ update-desktop-database -q
+}