summaryrefslogtreecommitdiff
path: root/community/xdelta3/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xdelta3/PKGBUILD')
-rw-r--r--community/xdelta3/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/xdelta3/PKGBUILD b/community/xdelta3/PKGBUILD
new file mode 100644
index 000000000..1af2efff6
--- /dev/null
+++ b/community/xdelta3/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 90967 2013-05-16 19:50:32Z bpiotrowski $
+# 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.7
+pkgrel=1
+pkgdesc="Diff utility which works with binary files"
+arch=('i686' 'x86_64')
+url="http://xdelta.org/"
+license=('GPL')
+depends=('xz')
+source=(http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz)
+md5sums=('ef6631e4f9219a80bcb9e3020962b6ec')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ ./xdelta3 test
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}