Skip to content
Snippets Groups Projects
Commit 3ce51ba4 authored by Jakob Gruber's avatar Jakob Gruber
Browse files

python rebuild, gaupol -> gufw, python-pychart, wammu

parent 6227a9eb
No related branches found
Tags 1.4-1
No related merge requests found
......@@ -5,7 +5,7 @@ pkgname=gufw
_realname=gui-ufw
pkgver=10.04
_pkgvermain=10.04.5
pkgrel=1
pkgrel=2
pkgdesc="An easy, intuitive way to manage your Linux firewall"
arch=('any')
url="http://gufw.tuxfamily.org/index.html"
......@@ -21,8 +21,14 @@ md5sums=('3bd29f08ebbdd74b15ef86dd756ccba5'
build() {
cd ${srcdir}/${_realname}-${_pkgvermain}
python setup.py build install --root=${pkgdir} || return 1
# python2 fix
for file in $(find . -name '*.py' -print); do
sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file
sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file
done
python2 setup.py build install --root=${pkgdir}
cd ${pkgdir}
patch -Np1 -i ${srcdir}/$pkgname-$pkgver-execute.patch || return 1
patch -Np1 -i ${srcdir}/$pkgname-$pkgver-execute.patch
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment