summaryrefslogtreecommitdiff
path: root/libre-testing/bibletime/PKGBUILD
blob: 91355030cf64c61b08615df5b3223b7cdbb040f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# $Id: PKGBUILD 208912 2017-01-24 16:42:17Z felixonmars $
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: SanskritFritz (gmail)
# Contributor: Tobias T. <OldShatterhand at gmx-topmail dot de>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=bibletime
pkgver=2.11.0
pkgrel=1.parabola1
pkgdesc='Bible study tool, with qt5-webkit-ng support'
arch=('x86_64' 'i686')
url='http://www.bibletime.info/'
license=('GPL2')
depends=('sword' 'clucene' 'qt5-webkit-ng' 'qt5-svg')
makedepends=('cmake' 'qt5-tools' 'git')
source=("git://github.com/bibletime/bibletime.git#tag=v$pkgver"
        'libre.patch')
md5sums=('SKIP'
         '7364f533a5e4df5edecff95c172a8fc9')

prepare() {
  mkdir -p build
  cd bibletime
  patch -p1 -i ../libre.patch
}

build() {
  cd build

  cmake ../bibletime \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  make -C build DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et: