31 lines
912 B
Bash
31 lines
912 B
Bash
# Template file for 'othman'
|
|
pkgname=othman
|
|
version=0.6.0
|
|
revision=2
|
|
build_style=python3-module
|
|
hostmakedepends="python3 ImageMagick sqlite intltool"
|
|
depends="gtk+3 python3-gobject amiri-font"
|
|
short_desc="Quran browser and search engine "
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="custom:WAQFv2"
|
|
homepage="https://github.com/ojuba-org/othman/"
|
|
distfiles="https://github.com/ojuba-org/othman/archive/${version}.tar.gz"
|
|
checksum=5a40ca72496b5b28e82206904b92721fe5f6e42c4741bdc08220b2289afe4fd1
|
|
repository=nonfree
|
|
|
|
pre_build() {
|
|
make icons
|
|
make Othman.desktop
|
|
make othman-data/ix.db
|
|
}
|
|
|
|
post_install() {
|
|
vinstall Othman-128.png 644 usr/share/icons/128x128/apps/ Othman.png
|
|
for _i in 96 72 64 48 36 32 24 22 16 ; do
|
|
vinstall icons/Othman-${_i}.png 644 usr/share/icons/${_i}x${_i}/apps/ Othman.png
|
|
done
|
|
vinstall Othman.desktop 644 usr/share/applications/
|
|
vlicense LICENSE-ar.txt
|
|
vlicense LICENSE-en
|
|
}
|