diff options
Diffstat (limited to 'main/librsync/APKBUILD')
-rw-r--r-- | main/librsync/APKBUILD | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/main/librsync/APKBUILD b/main/librsync/APKBUILD index c1bdf7e495..2527cb2f3b 100644 --- a/main/librsync/APKBUILD +++ b/main/librsync/APKBUILD @@ -1,30 +1,28 @@ # Contributor: Jeremy Thomerson <jeremy@thomersonfamily.com> # Maintainer: Jeremy Thomerson <jeremy@thomersonfamily.com> pkgname=librsync -pkgver=2.0.0 -pkgrel=1 +pkgver=2.0.2 +pkgrel=0 pkgdesc="librsync implements the rolling-checksum algorithm of rsync" url="https://github.com/librsync/librsync" arch="all" license="LGPL-2.1" makedepends="cmake popt-dev bzip2-dev zlib-dev perl" subpackages="$pkgname-dev $pkgname-doc" -source="$pkgname-$pkgver.tar.gz::https://github.com/librsync/librsync/archive/v$pkgver.tar.gz - 0001-Handle-searched-checksum-is-bigger-than-any-existing.patch" -builddir="$srcdir"/$pkgname-$pkgver +source="$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release . || return 1 - make || return 1 + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release . + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 - install -D -m644 doc/rdiff.1 "$pkgdir/usr/share/man/man1/rdiff.1" || return 1 - install -D -m644 doc/librsync.3 "$pkgdir/usr/share/man/man3/librsync.3" || return 1 + make DESTDIR="$pkgdir" install + install -D -m644 doc/rdiff.1 "$pkgdir/usr/share/man/man1/rdiff.1" + install -D -m644 doc/librsync.3 "$pkgdir/usr/share/man/man3/librsync.3" } -sha512sums="1a88dcc3aa60949e058c57eb0df3e0086823c493de40fed927246f5aada6274db57202074456a0ce5d9aa8b81b41836b0d6221ded6a75d43829572584177e8c0 librsync-2.0.0.tar.gz -ca34d1b6d0c227d582926e4342711a17604ece50b99bc5657758b50b405bc6df216c3c47d5ddb055f47d45b67ef056aefbd9d58317921202b68fc4c31433bcc4 0001-Handle-searched-checksum-is-bigger-than-any-existing.patch" +sha512sums="5d2bc1d62b37e9ed7416203615d0a0e3c05c4c884b5da63eda10dd5c985845b500331bce226e4d45676729382c85b41528282e25d491afda31ba434ac0fefad7 librsync-2.0.2.tar.gz" |