summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cef2badfc5dce25d6b6a8d0113a061ddbf553f8b (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
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>

pkgname=xiphos-git
pkgver=4.1.0.r69.g8845c65b
pkgrel=1
epoch=1
pkgdesc="A Bible study tool -- git version"
arch=('i686' 'x86_64')
url="http://xiphos.org"
license=('GPL')
depends=('gconf' 'webkit2gtk' 'libgsf' 'sword>=1.8.1' 'gtkhtml4' 'biblesync-git')
makedepends=('cmake' 'gtkmm' 'libgsf' 'libxml2' 'gnome-common' 'gnome-doc-utils'
	     'intltool' 'git' 'python2' 'docbook-utils' 'appstream-glib')
provides=('gnomesword' 'xiphos')
conflicts=('gnomesword' 'xiphos')
source=(git+https://github.com/crosswire/xiphos.git)
sha512sums=('SKIP')

pkgver() {
  cd "${pkgname%-git}"
  git describe --tags | sed 's+-+.r+'|tr - .
}

build() {
  [[ -d build ]] || mkdir build
  cd build
  cmake ../"${pkgname%-git}" -DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_BUILD_TYPE=Release -DGTKHTML=ON
  make
}

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