summaryrefslogtreecommitdiff
path: root/community/xdelta3/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
committerroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
commit1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch)
tree2305b950a3c94970b05c1a38af473f5cca95af02 /community/xdelta3/PKGBUILD
parentb9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff)
Mon Jan 28 00:05:59 PST 2013
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..fe78f2aab
--- /dev/null
+++ b/community/xdelta3/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 83184 2013-01-27 16:27:33Z pierre $
+# 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.6
+pkgrel=1
+pkgdesc="A 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=('652048ab4a7e5f927bce045228a17b31')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./xdelta3 test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="${pkgdir}" install
+}