aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartłomiej Piotrowski <b@bpiotrowski.pl>2012-09-25 15:48:46 +0200
committerBartłomiej Piotrowski <b@bpiotrowski.pl>2012-09-25 15:48:46 +0200
commit2f4d83e99c260f85e44a4bdd140a32f603674380 (patch)
tree9df1f59370f28dd99f386ffd7692b9af6f6b23bd
parenta2f933d8f1bbd6bdaee36d264783194222928670 (diff)
downloadaports-2f4d83e99c260f85e44a4bdd140a32f603674380.tar.bz2
aports-2f4d83e99c260f85e44a4bdd140a32f603674380.tar.xz
main/xdelta3: upgrade to 3.0.4
-rw-r--r--main/xdelta3/APKBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/main/xdelta3/APKBUILD b/main/xdelta3/APKBUILD
index 0b1b21e4ab..c23da981c4 100644
--- a/main/xdelta3/APKBUILD
+++ b/main/xdelta3/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xdelta3
-pkgver=3.0.0
+pkgver=3.0.4
pkgrel=0
pkgdesc="A diff utility which works with binary files"
url="http://xdelta.org/"
@@ -8,20 +8,17 @@ arch="all"
license="GPL"
depends=
makedepends=
-source="http://xdelta.googlecode.com/files/${pkgname%3}$pkgver.tar.gz
- "
-
-prepare() {
- cd $srcdir/xdelta$pkgver
-}
+source="http://xdelta.googlecode.com/files/$pkgname-$pkgver.tar.gz"
build() {
- cd $srcdir/xdelta$pkgver
- make CFLAGS="$CFLAGS" xdelta3 || return 1
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
}
package() {
- cd $srcdir/xdelta$pkgver
- install -D xdelta3 "$pkgdir"/usr/bin/xdelta3
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
}
-md5sums="5fe038be3a266d2a7913e10d1cec6d88 xdelta3.0.0.tar.gz"
+
+md5sums="c04f7fd9da45741a0095438cfe527b89 xdelta3-3.0.4.tar.gz"