summaryrefslogtreecommitdiffstats
path: root/xmldiff/Pkgfile
blob: 989e42ad4279adf758d85bf07fce3094be51b2f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
}