2018-05-26 21:24:39 +00:00
|
|
|
# Template file for 'othman'
|
|
|
|
pkgname=othman
|
|
|
|
version=0.5.1
|
2018-06-20 01:51:02 +00:00
|
|
|
revision=2
|
|
|
|
noarch=yes
|
2018-05-26 21:24:39 +00:00
|
|
|
build_style=python2-module
|
2018-06-20 01:51:02 +00:00
|
|
|
pycompile_module="othman"
|
|
|
|
hostmakedepends="python ImageMagick sqlite intltool"
|
|
|
|
depends="gtk+3 python-gobject amiri-font"
|
2018-05-26 21:24:39 +00:00
|
|
|
short_desc="Quran browser and search engine "
|
|
|
|
maintainer="John <johnz@posteo.net>"
|
|
|
|
license="WAQFv2"
|
|
|
|
homepage="https://github.com/ojuba-org/othman/"
|
|
|
|
distfiles="https://github.com/ojuba-org/othman/archive/${version}.tar.gz"
|
|
|
|
checksum=45bb59dd35dc5c8b731cc58b2ddc016cb60dcc937c1289a182ebaacab9ae07fd
|
|
|
|
repository=nonfree
|
|
|
|
|
|
|
|
pre_build() {
|
2018-06-20 01:51:02 +00:00
|
|
|
sed -i 's|python gen-index|python2 gen-index|' Makefile
|
2018-05-26 21:24:39 +00:00
|
|
|
make icons
|
|
|
|
make Othman.desktop
|
|
|
|
make othman-data/ix.db
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
for _i in 128 96 72 64 48 36 32 24 22 16; do
|
|
|
|
vinstall Othman-${_i}.png 644 usr/share/icons/${_i}x${_i}/apps/ Othman.png
|
|
|
|
done
|
|
|
|
vinstall Othman.desktop 644 usr/share/applications/
|
|
|
|
vlicense waqf2-ar.pdf
|
|
|
|
}
|