diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Mon Mar 5 21:39:35 UTC 2018 +# Wed Mar 21 09:44:39 UTC 2018 pkgbase = fontypython pkgdesc = Manage, view and find your fonts. pkgver = 0.5 - pkgrel = 1 + pkgrel = 2 url = https://savannah.nongnu.org/projects/fontypython arch = any license = GPL3 @@ -2,7 +2,7 @@ pkgname=fontypython pkgver=0.5 -pkgrel=1 +pkgrel=2 pkgdesc="Manage, view and find your fonts." arch=('any') url="https://savannah.nongnu.org/projects/fontypython" @@ -11,6 +11,10 @@ depends=('wxpython') source=("http://download.savannah.nongnu.org/releases/fontypython/fontypython-$pkgver.tar.gz") sha256sums=('46f5304f9ec790b0b870f66a37b5fd47103a9300d0e0ed98e8799bd59bb4ec1b') +prepare() { + sed -i 's|c1 = \[ "python", os.path.join(fontyroot,|c1 = [ "python2", os.path.join(fontyroot,|g' "fontypython-$pkgver/fontypythonmodules/segwrapfonty.py" +} + build() { cd ${srcdir}/${pkgname}-${pkgver} python2 setup.py build |