summaryrefslogtreecommitdiff
path: root/extra/xdelta3
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-25 00:23:17 -0700
committerroot <root@rshg054.dnsready.net>2012-09-25 00:23:17 -0700
commit9ddf3e5a94b0848cdf9e6ffcc586576bb614bc13 (patch)
tree6b81ad2acdf24efb0e3a131110ebe97d4b9ed599 /extra/xdelta3
parent8f0a971364bf8fee254a13a94adf2bfa9173e804 (diff)
Tue Sep 25 00:23:14 PDT 2012
Diffstat (limited to 'extra/xdelta3')
-rw-r--r--extra/xdelta3/PKGBUILD41
1 files changed, 13 insertions, 28 deletions
diff --git a/extra/xdelta3/PKGBUILD b/extra/xdelta3/PKGBUILD
index 05cabed7d..0908f9288 100644
--- a/extra/xdelta3/PKGBUILD
+++ b/extra/xdelta3/PKGBUILD
@@ -1,46 +1,31 @@
-# $Id: PKGBUILD 145279 2011-12-21 02:07:07Z allan $
+# $Id: PKGBUILD 167057 2012-09-25 00:09:23Z eric $
# 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=2
+pkgver=3.0.4
+pkgrel=1
pkgdesc="A diff utility which works with binary files"
arch=('i686' 'x86_64')
url="http://xdelta.org/"
license=('GPL')
-makedepends=('python2')
-optdepends=('python2: for python modules')
-source=(http://xdelta.googlecode.com/files/xdelta$pkgver.tar.gz
- xdelta3-makefile.patch)
-md5sums=('5fe038be3a266d2a7913e10d1cec6d88'
- 'fa5973870faf7523043c4858ab7c3bdb')
+depends=('xz')
+source=(http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+md5sums=('c04f7fd9da45741a0095438cfe527b89')
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
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
}
check() {
- cd $srcdir/xdelta$pkgver
-
- make test
+ cd "$srcdir/$pkgname-$pkgver"
+ ./xdelta3 test
}
package() {
- cd $srcdir/xdelta$pkgver
-
- install -D xdelta3 $pkgdir/usr/bin/xdelta3
- python2 ./setup.py install --root ${pkgdir}
- install -m644 {xdelta3.py,xdelta3module.so} ${pkgdir}/usr/lib/python2.7/site-packages
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
}
-