summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2d3e109ddd05b5872bd20eb595d56b76a428b42e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>

pkgname=diffxml
pkgver=0.96B
pkgrel=1
pkgdesc="Tools for comparing and patching XML files"
arch=('any')
url="http://diffxml.sourceforge.net"
license=('GPL')
depends=('java-runtime')
makedepends=('apache-ant')
source=(http://sourceforge.net/projects/diffxml/files/$pkgname/0.96%20BETA/$pkgname-$pkgver.tar.gz)
md5sums=('9fb4bd8b2861d14edccc45ad143011be')

package() {
  cd "${srcdir}"/$pkgname

  ant -Dinstall.dir="${pkgdir}/usr" install
  sed -i "s:/build/diffxml/pkg/diffxml/:/:g" "${pkgdir}"/usr/bin/{diffxml,patchxml}
}