diff options
author | root <root@rshg047.dnsready.net> | 2011-06-30 23:11:47 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-30 23:11:47 +0000 |
commit | 64e72407414ce0badfb541782125cd8e3a25c12e (patch) | |
tree | b77ce06374d43b1653bc517ebdbd10e1d0f2b328 /community/xmldiff | |
parent | 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (diff) |
Thu Jun 30 23:11:47 UTC 2011
Diffstat (limited to 'community/xmldiff')
-rw-r--r-- | community/xmldiff/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/xmldiff/PKGBUILD b/community/xmldiff/PKGBUILD new file mode 100644 index 000000000..167e91ec8 --- /dev/null +++ b/community/xmldiff/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 50681 2011-06-29 12:57:42Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Anton Bazhenov <anton.bazhenov at gmail> +# Contributor: Sergej Pupykin <sergej@aur.archlinux.org> + +pkgname=xmldiff +pkgver=0.6.10 +pkgrel=1 +pkgdesc="A python tool that figures out the differences between two similar XML files, in the same way the diff utility does it" +arch=('i686' 'x86_64') +url="http://www.logilab.org/project/xmldiff/" +license=('GPL2') +depends=('python2' 'libxslt' 'jade') +optdepends=('docbook-xsl: render revision info') +source=(http://ftp.logilab.org/pub/$pkgname/$pkgname-$pkgver.tar.gz) +md5sums=('a61e6e95a130e3bd53f5ea5616cc5314') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's@^#!.*python$@#!/usr/bin/python2@' main.py + python2 setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + install -m755 -d "$pkgdir/usr/share/man/man1" + install -m644 man/*.1 "$pkgdir/usr/share/man/man1" +} |