summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 35531bf8f8322bf916626f6f106a42da9f1acd83 (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
# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgname=bibledit
pkgdesc='Editory for translating the Bible (Cloud release)'
pkgver=5.0.813
pkgrel=0.1
arch=('any')
url='https://bibledit.org/'
license=('GPL3')
source=("https://github.com/bibledit/cloud/releases/download/5.0.813/$pkgname-$pkgver.tar.gz")
sha256sums=('3a5612c761a1ca4cd37d159a16d2ab68094c00c150ca099a84d045c4e93bd932')
depends=('sword' 'sqlite' 'gtk3' 'cairo' 'at-spi2-atk')

build () {
	cd "$pkgname-$pkgver"
    ./configure --enable-client --enable-paratext
    make -j8
}

package () {
	cd "$pkgname-$pkgver"
	make install DESTDIR="$pkgdir/"

	# Documentation and examples
	for file in README NEWS; do
		install -Dm644 "$file" \
			"$pkgdir/usr/share/doc/$pkgname/$file"
	done

	# License
	install -Dm644 COPYING \
		"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}