summaryrefslogtreecommitdiff
path: root/~smv
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-16 22:28:01 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-16 22:28:01 -0600
commit3da845a08076afdd5805399268567ff5e623e477 (patch)
tree1d340dc6dfdfa4f5e5877337afbf76b308ad3729 /~smv
parent93a4a22a36809aa0371b414e360ecdf1f6a79c48 (diff)
parent11a1ca3ecd47510d457e103c17398b327555866e (diff)
downloadabslibre-3da845a08076afdd5805399268567ff5e623e477.tar.gz
abslibre-3da845a08076afdd5805399268567ff5e623e477.tar.bz2
abslibre-3da845a08076afdd5805399268567ff5e623e477.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to '~smv')
-rw-r--r--~smv/sword-svn/PKGBUILD35
-rw-r--r--~smv/xiphos-svn/PKGBUILD35
-rw-r--r--~smv/xiphos-svn/xiphos-svn.install12
3 files changed, 82 insertions, 0 deletions
diff --git a/~smv/sword-svn/PKGBUILD b/~smv/sword-svn/PKGBUILD
new file mode 100644
index 000000000..b5ddc53f4
--- /dev/null
+++ b/~smv/sword-svn/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer (Parabola): Sorin-Mihai Vârgolici <smv@ceata.org>
+pkgname=sword-svn
+pkgver=2904
+pkgrel=1
+pkgdesc="Libraries for Bible programs -- svn version"
+arch=('i686' 'x86_64')
+url="http://www.crosswire.org/sword/"
+license=('GPL')
+depends=('curl' 'clucene' 'swig')
+makedepends=('subversion')
+provides=('sword')
+conflicts=('sword')
+source=('sword::svn+https://www.crosswire.org/svn/sword/trunk/')
+md5sums=('SKIP')
+options=('!makeflags')
+_svnmod=sword
+
+pkgver() {
+ cd $SRCDEST/${_svnmod}
+ svnversion
+}
+
+build() {
+ cd "$srcdir/$_svnmod"
+ ./autogen.sh
+ CPPFLAGS+="-fpermissive" ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$_svnmod"
+ make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir/" install_config
+}
diff --git a/~smv/xiphos-svn/PKGBUILD b/~smv/xiphos-svn/PKGBUILD
new file mode 100644
index 000000000..699990fec
--- /dev/null
+++ b/~smv/xiphos-svn/PKGBUILD
@@ -0,0 +1,35 @@
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Maintainer (Parabola): Sorin-Mihai Vârgolici <smv@ceata.org>
+pkgname=xiphos-svn
+pkgver=4482
+pkgrel=1
+pkgdesc="A Bible study tool -- svn version"
+arch=('i686' 'x86_64')
+url="http://xiphos.org"
+license=('GPL')
+depends=('webkitgtk' 'libgsf' 'gconf' 'sword-svn' 'gtkhtml4')
+makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'subversion')
+provides=('gnomesword' 'xiphos')
+conflicts=('gnomesword' 'xiphos')
+install=xiphos-svn.install
+source=('xiphos::svn://svn.code.sf.net/p/gnomesword/code/trunk')
+md5sums=('SKIP')
+_svnmod=xiphos
+
+pkgver() {
+ cd $SRCDEST/${_svnmod}
+ svnversion
+}
+
+build() {
+ cd "$srcdir/$_svnmod"
+ sed -i 's+/usr/bin/env python+/usr/bin/env python2+' waf
+
+ ./waf --prefix=/usr --gtk=3 configure
+ ./waf --prefix=/usr build
+}
+
+package() {
+ cd "$srcdir/$_svnmod"
+ ./waf --destdir=$pkgdir --no-post-install install
+}
diff --git a/~smv/xiphos-svn/xiphos-svn.install b/~smv/xiphos-svn/xiphos-svn.install
new file mode 100644
index 000000000..0cbac7465
--- /dev/null
+++ b/~smv/xiphos-svn/xiphos-svn.install
@@ -0,0 +1,12 @@
+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
+}