# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# 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=2.6.3
pkgrel=3
pkgdesc="A python tool that figures out the differences between two similar XML files, in the same way the diff utility does it"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="https://github.com/Shoobx/xmldiff"
license=('GPL2')
depends=('python' 'libxslt' 'jade' 'python-setuptools' 'python-lxml' 'python-six')
optdepends=('docbook-xsl: render revision info')
source=("$pkgname-$pkgver.tar.gz::https://github.com/Shoobx/xmldiff/archive/$pkgver.tar.gz")
sha512sums=('52d728310bc144894d8db178c89e5ae7bee22acaa9a4bfe5b8014420b854c385029ccf55f36bf831ac86e5d58ef497fb994f78172bcff7c980ed2f766609cc36')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py build
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1
}
