From 075d9f92622e72ec73fc4cea186134e1f58f9dc7 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 19 Jun 2018 22:51:02 -0300 Subject: [PATCH] othman: fix python. --- srcpkgs/othman/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/othman/template b/srcpkgs/othman/template index a073b7d7a13..f02343c1bb6 100644 --- a/srcpkgs/othman/template +++ b/srcpkgs/othman/template @@ -1,10 +1,12 @@ # Template file for 'othman' pkgname=othman version=0.5.1 -revision=1 +revision=2 +noarch=yes build_style=python2-module -hostmakedepends="python-setuptools ImageMagick sqlite intltool" -depends="python-sqlite python-gobject amiri-font" +pycompile_module="othman" +hostmakedepends="python ImageMagick sqlite intltool" +depends="gtk+3 python-gobject amiri-font" short_desc="Quran browser and search engine " maintainer="John " license="WAQFv2" @@ -14,7 +16,7 @@ checksum=45bb59dd35dc5c8b731cc58b2ddc016cb60dcc937c1289a182ebaacab9ae07fd repository=nonfree 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 Othman.desktop make othman-data/ix.db