diff options
Diffstat (limited to 'xmldiff/Pkgfile')
-rwxr-xr-x | xmldiff/Pkgfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/xmldiff/Pkgfile b/xmldiff/Pkgfile new file mode 100755 index 0000000..989e42a --- /dev/null +++ b/xmldiff/Pkgfile @@ -0,0 +1,20 @@ +# Description: Affiche les différences entre deux fichiers XML +# URL: http://www.logilab.org/project/xmldiff/ +# Maintainer: NuTyX core team +# Packager: piernov <piernov@piernov.org> +# Depends on: +# Run on: + +name=xmldiff +version=0.6.10 +release=1 +source=(http://ftp.logilab.org/pub/$name/$name-$version.tar.gz) + +build() { + cd $name-$version + sed -i 's|^#!.*python$|#!/usr/bin/python2|' main.py + python2 setup.py build + python2 setup.py install --root=$PKG --optimize=1 + install -m755 -d $PKG/usr/share/man/man1 + install -m644 man/*.1 $PKG/usr/share/man/man1 +} |