summaryrefslogtreecommitdiff
path: root/extra/xdelta3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xdelta3/PKGBUILD')
-rw-r--r--extra/xdelta3/PKGBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/extra/xdelta3/PKGBUILD b/extra/xdelta3/PKGBUILD
index a8149d55c..05cabed7d 100644
--- a/extra/xdelta3/PKGBUILD
+++ b/extra/xdelta3/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: $
+# $Id: PKGBUILD 145279 2011-12-21 02:07:07Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Eduard "bekks" Warkentin <eduard.warkentin@gmail.com>
# Contributor: Henning Garus <henning.garus@gmail.com>
pkgname=xdelta3
pkgver=3.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="A diff utility which works with binary files"
arch=('i686' 'x86_64')
url="http://xdelta.org/"
@@ -15,15 +15,25 @@ optdepends=('python2: for python modules')
source=(http://xdelta.googlecode.com/files/xdelta$pkgver.tar.gz
xdelta3-makefile.patch)
md5sums=('5fe038be3a266d2a7913e10d1cec6d88'
- '378e9a735d92fb2fc695ed9ce2fad2d5')
+ 'fa5973870faf7523043c4858ab7c3bdb')
build() {
cd $srcdir/xdelta$pkgver
+
patch -Np1 -i $srcdir/xdelta3-makefile.patch
sed -i "/PYVER = /s/2.6/2.7/" Makefile
make xdelta3
make xdelta3module.so
+
+ # for testsuite
+ make xdelta3-debug
+}
+
+check() {
+ cd $srcdir/xdelta$pkgver
+
+ make test
}
package() {