diff options
Diffstat (limited to 'itstool/Pkgfile')
-rw-r--r-- | itstool/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/itstool/Pkgfile b/itstool/Pkgfile new file mode 100644 index 0000000..5245dfb --- /dev/null +++ b/itstool/Pkgfile @@ -0,0 +1,21 @@ +# Description: Utilitaire de traduction de fichier XML avec des fichiers PO +# URL: http://itstool.org/ +# Maintainer: NuTyX GNOME team +# Packager: piernov <piernov@piernov.org> +# Depends on: python2, libxml2 +# Run on: python2,libxml2 + +name=itstool +version=1.1.0 +release=1 +source=(http://files.$name.org/$name/$name-$version.tar.bz2) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib + make + make DESTDIR=$PKG install + sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|" $PKG/usr/bin/itstool +} |