aboutsummaryrefslogtreecommitdiffstats
path: root/main/xdelta3/APKBUILD
blob: 6f136cd91569e507f41733169fd85db5d217d09e (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
32
33
34
35
36
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdelta3
pkgver=3.0.10
pkgrel=0
pkgdesc="A diff utility which works with binary files"
url="http://xdelta.org/"
arch="all"
license="GPL"
depends=
makedepends=
subpackages="$pkgname-doc"
source="https://github.com/jmacd/xdelta-devel/releases/download/v$pkgver/xdelta3-$pkgver.tar.gz
	"

prepare() {
	cd $srcdir/$pkgname-$pkgver
}

build() { 
	cd $srcdir/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make DESTDIR="${pkgdir}" install
}

md5sums="9007f1b91ad07eac04d095ec42772136  xdelta3-3.0.10.tar.gz"
sha256sums="e22577af8515f91b3d766dffa2a97740558267792a458997828f039b79abc107  xdelta3-3.0.10.tar.gz"
sha512sums="97ffabdb8fee49efda0c6a79fee667e2339d8f0aede526396735bcf64a41d5a892cf81b0de4e832465bad2e501731b59f43032a06fabc81313a5c1357d6c614b  xdelta3-3.0.10.tar.gz"