1 # Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
3 # Contributor: Eduard "bekks" Warkentin <eduard.warkentin@gmail.com>
4 # Contributor: Henning Garus <henning.garus@gmail.com>
9 pkgdesc='Diff utility for binary files'
12 url='http://xdelta.org/'
15 makedepends=(git python)
16 source=("git+https://github.com/jmacd/xdelta#commit=4b4aed71a959fe11852e45242bb6524be85d3709") # tag: v3.1.0
22 export CFLAGS="$CFLAGS -w"
23 export CXXFLAGS="$CFLAGS -w"
30 automake --add-missing
33 ./configure --disable-dependency-tracking --prefix=/usr --with-liblzma
38 cd xdelta/xdelta3/testing
41 2to3 -w -n --no-diffs *.py
42 sed -i -e '/python/s:2.6:2:' xdelta3-regtest.py
43 sed -i -e '/python/s:2.7:2:' xdelta3-test.py
48 DESTDIR="$pkgdir" make -C xdelta/xdelta3 install
51 # getver: github.com/jmacd/xdelta