othman: update to 0.6.0.

This commit is contained in:
John 2019-10-22 20:10:42 +02:00
parent 797641ae93
commit 935a45ba99

View file

@ -1,18 +1,18 @@
# Template file for 'othman' # Template file for 'othman'
pkgname=othman pkgname=othman
version=0.5.1 version=0.6.0
revision=2 revision=1
archs=noarch archs=noarch
build_style=python2-module build_style=python3-module
pycompile_module="othman" pycompile_module="othman"
hostmakedepends="python ImageMagick sqlite intltool" hostmakedepends="python3 ImageMagick sqlite intltool"
depends="gtk+3 python-gobject amiri-font" depends="gtk+3 python3-gobject amiri-font"
short_desc="Quran browser and search engine " short_desc="Quran browser and search engine "
maintainer="John <johnz@posteo.net>" maintainer="John <johnz@posteo.net>"
license="WAQFv2" license="WAQFv2"
homepage="https://github.com/ojuba-org/othman/" homepage="https://github.com/ojuba-org/othman/"
distfiles="https://github.com/ojuba-org/othman/archive/${version}.tar.gz" distfiles="https://github.com/ojuba-org/othman/archive/${version}.tar.gz"
checksum=45bb59dd35dc5c8b731cc58b2ddc016cb60dcc937c1289a182ebaacab9ae07fd checksum=5a40ca72496b5b28e82206904b92721fe5f6e42c4741bdc08220b2289afe4fd1
repository=nonfree repository=nonfree
pre_build() { pre_build() {
@ -23,9 +23,11 @@ pre_build() {
} }
post_install() { post_install() {
for _i in 128 96 72 64 48 36 32 24 22 16; do vinstall Othman-128.png 644 usr/share/icons/128x128/apps/ Othman.png
vinstall Othman-${_i}.png 644 usr/share/icons/${_i}x${_i}/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 done
vinstall Othman.desktop 644 usr/share/applications/ vinstall Othman.desktop 644 usr/share/applications/
vlicense waqf2-ar.pdf vlicense LICENSE-ar.txt
vlicense LICENSE-en
} }