aboutsummaryrefslogtreecommitdiffstats
path: root/community/xdelta3/APKBUILD
blob: 4918474f2f4f9a3958fc24773afa9b6645049942 (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.11
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="445d8be2ac512113d5ca601ae8359626  xdelta3-3.0.11.tar.gz"
sha256sums="0ccc9751ceaa4d90d6b06938a4deddb481816f5d9284bd07d2e728609cb300aa  xdelta3-3.0.11.tar.gz"
sha512sums="41c48e28f92ad50a737cf0acac150fe17d1132e9a652c482d751c8c4e745c6922d576a183eeabae343a1a238ed8c53353e537977628c86eb599ab3d1c01e7c52  xdelta3-3.0.11.tar.gz"