aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdelta3/APKBUILD
blob: 0b1b21e4abc1870e9853d84012ad4383b7abf7c3 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdelta3
pkgver=3.0.0
pkgrel=0
pkgdesc="A diff utility which works with binary files"
url="http://xdelta.org/"
arch="all"
license="GPL"
depends=
makedepends=
source="http://xdelta.googlecode.com/files/${pkgname%3}$pkgver.tar.gz
	"

prepare() {
	cd $srcdir/xdelta$pkgver
}

build() { 
	cd $srcdir/xdelta$pkgver
	make CFLAGS="$CFLAGS" xdelta3 || return 1
}

package() {
	cd $srcdir/xdelta$pkgver
	install -D xdelta3 "$pkgdir"/usr/bin/xdelta3
}
md5sums="5fe038be3a266d2a7913e10d1cec6d88  xdelta3.0.0.tar.gz"