summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 013b2c8bb08773fd660dc673bda89adf3f793936 (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
# Maintainer: Martin Brodbeck <martin at brodbeck-online dot de>
pkgname=bibellese
pkgver=1.7.0
pkgrel=2
pkgdesc="Helps with reading the bible according to various reading plans (German only)"
arch=('i686' 'x86_64')
url="http://www.brodbeck-online.de/software/bibellese"
license=('custom')
depends=('glibc' 'libical' 'qt5-base')
makedepends=('boost>=1.47')
source=($pkgname-$pkgver.tar.gz)
md5sums=('cf5202ae1547ac3e1b718324f6f814c3')

build() {
  if [ ! -d Bibellese/build ]; then
    mkdir Bibellese/build
  fi
  cd Bibellese/build

  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$pkgdir/usr ..
  make
}

package() {
  mkdir -p $pkgdir/usr/share/bibellese/data
  cd Bibellese/build
  make install
  cd ..
  install -D -m644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}