PKGBUILD 905 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
  2. # Maintainer: Sorin-Mihai Vârgolici <smv@ceata.org>
  3. pkgname=xiphos-svn
  4. pkgver=4482
  5. pkgrel=1
  6. pkgdesc="A Bible study tool -- svn version"
  7. arch=('i686' 'x86_64' 'mips64el')
  8. url="http://xiphos.org"
  9. license=('GPL')
  10. depends=('webkitgtk' 'libgsf' 'gconf' 'sword-svn' 'gtkhtml4')
  11. makedepends=('gnome-common' 'gnome-doc-utils' 'intltool' 'subversion')
  12. provides=('gnomesword' 'xiphos')
  13. conflicts=('gnomesword' 'xiphos')
  14. install=xiphos-svn.install
  15. source=('xiphos::svn://svn.code.sf.net/p/gnomesword/code/trunk')
  16. md5sums=('SKIP')
  17. _svnmod=xiphos
  18. pkgver() {
  19. cd $SRCDEST/${_svnmod}
  20. svnversion
  21. }
  22. build() {
  23. cd "$srcdir/$_svnmod"
  24. sed -i 's+/usr/bin/env python+/usr/bin/env python2+' waf
  25. ./waf --prefix=/usr --gtk=3 configure
  26. ./waf --prefix=/usr build
  27. }
  28. package() {
  29. cd "$srcdir/$_svnmod"
  30. ./waf --destdir=$pkgdir --no-post-install install
  31. }