core/xdelta3/PKGBUILD

35 lines
864 B
Bash
Raw Normal View History

2012-11-23 21:10:37 +08:00
# Platform Packages for Chakra, part of chakra-project.org
2010-12-19 06:32:40 +08:00
#
2012-11-23 21:10:37 +08:00
# maintainer: Neophytos Kolokotronis
# Contributors from Arch: Allan McRae <allan@archlinux.org>
# Eduard "bekks" Warkentin <eduard.warkentin@gmail.com>
# Henning Garus <henning.garus@gmail.com>
2010-05-24 23:40:27 +08:00
pkgname=xdelta3
2012-11-23 21:10:37 +08:00
pkgver=3.0.4
2010-05-24 23:40:27 +08:00
pkgrel=1
pkgdesc="A diff utility which works with binary files"
2012-11-23 21:10:37 +08:00
arch=('x86_64')
2010-05-24 23:40:27 +08:00
url="http://xdelta.org/"
license=('GPL')
2010-12-19 06:32:40 +08:00
makedepends=('python2')
optdepends=('python2: for python modules')
2012-11-23 21:10:37 +08:00
source=("http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz")
md5sums=('c04f7fd9da45741a0095438cfe527b89')
2010-05-24 23:40:27 +08:00
build() {
2012-11-23 21:10:37 +08:00
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
2010-12-19 06:32:40 +08:00
}
2012-11-23 21:10:37 +08:00
check() {
cd "$srcdir/$pkgname-$pkgver"
./xdelta3 test
2010-05-24 23:40:27 +08:00
}
2012-11-23 21:10:37 +08:00
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
}