pkgname=xmldiff pkgver=2.7.0 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=('x86_64') url="https://xmldiff.readthedocs.io/en/stable/" license=('GPL2') depends=('python3-setuptools' 'python3-lxml') groups=('programming') #source=("https://github.com/Shoobx/xmldiff/archive/${pkgver}.tar.gz") source=("https://files.pythonhosted.org/packages/source/x/xmldiff/${pkgname}-${pkgver}.tar.gz") sha256sums=('c0910b1f800366dd7ec62923e5d06e8b06a1bd9120569a1c27f4f2446b9c68a2') build() { cd ${pkgname}-${pkgver} python3 setup.py build } package() { cd ${pkgname}-${pkgver} python3 setup.py install --root=${pkgdir}/ --optimize=1 }