diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2016-04-15 19:42:47 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2016-04-15 19:42:47 -0400 |
commit | b0bfb2022b1f999499c8b6be1b35e4650bb62873 (patch) | |
tree | abea4956d56a3e24b37d8f1f26f5b7711edbac8f | |
parent | b167d261444db2cf9108fafcec23ceb6f9433e49 (diff) | |
download | abslibre-b0bfb2022b1f999499c8b6be1b35e4650bb62873.tar.gz abslibre-b0bfb2022b1f999499c8b6be1b35e4650bb62873.tar.bz2 abslibre-b0bfb2022b1f999499c8b6be1b35e4650bb62873.zip |
add xiphos-git
-rw-r--r-- | pcr/xiphos-git/PKGBUILD | 34 | ||||
-rw-r--r-- | pcr/xiphos-git/xiphos-git.install | 14 |
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 +} |