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

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="f06e15f8765294d7f1807d96db9425d8  xdelta3-3.0.9.tar.xz"
sha256sums="554e28c4d1e27cec1f9f0659bc3020dca2e538b249d3e1bbe0a0cc4d8bb91763  xdelta3-3.0.9.tar.xz"
sha512sums="dd9e80617208a5efc2e33eaf2a61b23f3486ecb34bcc972209570e93833092ec277cf2addd813c563c1a61cac3d7a6f1830ef15d295798174ba2771760e9fb4f  xdelta3-3.0.9.tar.xz"