diff options
Diffstat (limited to 'main/xdelta3/APKBUILD')
-rw-r--r-- | main/xdelta3/APKBUILD | 21 |
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" |