PKGBUILD 834 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Maintainer (Arch): Stefan Husmann <stefan-husmann@t-online.de>
  2. # Maintainer: Sorin-Mihai Vârgolici <smv@ceata.org>
  3. pkgname=sword-svn
  4. pkgver=2904
  5. pkgrel=1
  6. pkgdesc="Libraries for Bible programs -- svn version"
  7. arch=('i686' 'x86_64' 'mips64el')
  8. url="http://www.crosswire.org/sword/"
  9. license=('GPL')
  10. depends=('curl' 'clucene' 'swig')
  11. makedepends=('subversion')
  12. provides=('sword')
  13. conflicts=('sword')
  14. source=('sword::svn+https://www.crosswire.org/svn/sword/trunk/')
  15. md5sums=('SKIP')
  16. options=('!makeflags')
  17. _svnmod=sword
  18. pkgver() {
  19. cd $SRCDEST/${_svnmod}
  20. svnversion
  21. }
  22. build() {
  23. cd "$srcdir/$_svnmod"
  24. ./autogen.sh
  25. CPPFLAGS+="-fpermissive" ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc
  26. make
  27. }
  28. package() {
  29. cd "$srcdir/$_svnmod"
  30. make DESTDIR="$pkgdir/" install
  31. make DESTDIR="$pkgdir/" install_config
  32. }