PKGBUILD 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Maintainer (Arch): Felix Yan <felixonmars@archlinux.org>
  2. # Maintainer (Arch): Alexander F Rødseth <xyproto@archlinux.org>
  3. # Contributor: André Silva <emulatorman@hyperbola.info>
  4. # Contributor (Arch): SanskritFritz (gmail)
  5. # Contributor (Arch): Tobias T. <OldShatterhand at gmx-topmail dot de>
  6. pkgname=bibletime
  7. pkgver=2.11.2
  8. pkgrel=1
  9. pkgrel+=.parabola1
  10. pkgdesc='Bible study tool'
  11. pkgdesc+=', with qt5-webkit-ng support'
  12. arch=('x86_64')
  13. arch+=('i686' 'armv7h')
  14. url='http://www.bibletime.info/'
  15. license=('GPL2')
  16. depends=('sword' 'clucene' 'qt5-webkit' 'qt5-svg')
  17. makedepends=('cmake' 'qt5-tools')
  18. source=("$pkgname-$pkgver.tar.gz::https://github.com/bibletime/bibletime/archive/v$pkgver.tar.gz"
  19. 'libre.patch')
  20. sha512sums=('951c72dea1e281c0403284b36d680452ffb9dec180097faec49bc8536ad9a9e3cb543060b9972beae415e94467dbff6edcc253a0fda217cbb17a94fce40ff553'
  21. '6d64be9904729b9bdf7a0464af8ba9e230b400ee461aca6dc8c7060c8bdb870ad61494ae3cd6a2f32a7ef45605b88671350c83e6cf9406f334242c63139cdc0c')
  22. prepare() {
  23. mkdir -p build
  24. cd bibletime-$pkgver
  25. patch -p1 -i "$srcdir/libre.patch"
  26. }
  27. build() {
  28. cd build
  29. cmake ../bibletime-$pkgver \
  30. -DCMAKE_INSTALL_PREFIX=/usr \
  31. -DCMAKE_BUILD_TYPE=Release
  32. make
  33. }
  34. package() {
  35. make -C build DESTDIR="$pkgdir" install
  36. }
  37. # vim:set ts=2 sw=2 et: