othman: fix python.

This commit is contained in:
maxice8 2018-06-19 22:51:02 -03:00
parent e5861a7687
commit 075d9f9262
1 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,12 @@
# Template file for 'othman' # Template file for 'othman'
pkgname=othman pkgname=othman
version=0.5.1 version=0.5.1
revision=1 revision=2
noarch=yes
build_style=python2-module build_style=python2-module
hostmakedepends="python-setuptools ImageMagick sqlite intltool" pycompile_module="othman"
depends="python-sqlite python-gobject amiri-font" hostmakedepends="python ImageMagick sqlite intltool"
depends="gtk+3 python-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"
@ -14,7 +16,7 @@ checksum=45bb59dd35dc5c8b731cc58b2ddc016cb60dcc937c1289a182ebaacab9ae07fd
repository=nonfree repository=nonfree
pre_build() { pre_build() {
sed -i -e 's/usr\/bin\/python/usr\/bin\/env python2/' gen-index.py sed -i 's|python gen-index|python2 gen-index|' Makefile
make icons make icons
make Othman.desktop make Othman.desktop
make othman-data/ix.db make othman-data/ix.db