summaryrefslogtreecommitdiff
path: root/community/xdelta3/PKGBUILD
blob: bd8d6cd9f3a0345857a3232936348024b829a30e (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 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' 'mips64el')
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
}