blob: 7b3b108119d0d8107964143b5d1fbcc7df0156b5 (
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
|
# Maintainer: Mindia Edisherashvili <mindia.e@aol.com>
pkgname=ourbible
pkgver=0.22.5
pkgrel=0
epoch=
pkgdesc="Bible viewer app with GUI which uses MyBible Android app's modules which you can add"
arch=('x86_64')
url="https://github.com/mindiae/ourbible"
license=('GPL-3.0')
depends=('sqlite' 'go' 'gtk3' 'webkit2gtk-4.1')
makedepends=('git' 'go' 'gtk3' 'webkit2gtk-4.1')
source=("https://github.com/mindiae/ourbible/archive/refs/tags/0.22.5.tar.gz")
sha256sums=("e5677600b624b8b79046bec508b89c9dd5bbafcc10939ecccd94e2eb09829ecf")
build() {
cd "$srcdir/$pkgname-$pkgver"
go build -o build/$pkgname ./cmd/webview/
}
package() {
cd "$srcdir/$pkgname-$pkgver"
install -Dm755 "build/$pkgname" "$pkgdir/usr/local/bin/$pkgname"
local target_dir="/usr/local/share/$pkgname"
install -d "$pkgdir/usr/share/applications"
mv "ourbible.desktop" "$pkgdir/usr/share/applications"
install -d "$pkgdir/$target_dir/static"
mv "static/"* "$pkgdir/$target_dir/static"
install -d "$pkgdir/$target_dir/database"
mv "database/"* "$pkgdir/$target_dir/database"
}
|