summaryrefslogtreecommitdiff
path: root/extra/xdelta3/PKGBUILD
blob: 658251df17ece611d06adad3f76baa4bc0d82b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $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.4
pkgrel=1
pkgdesc="A diff utility which works with binary files"
arch=('i686' 'x86_64' 'mips64el')
url="http://xdelta.org/"
license=('GPL')
depends=('xz')
source=(http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz)
md5sums=('c04f7fd9da45741a0095438cfe527b89')

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
}