* update librsync to 1:2.3.4-1

This commit is contained in:
Alexander Baldeck 2023-03-09 07:23:25 +01:00
parent 319adf14eb
commit 7df1483169

View File

@ -4,26 +4,26 @@
# Contributor: Christoph 'delmonico' Neuroth <delmonico@gmx.net>
pkgname=librsync
pkgver=2.3.2
pkgver=2.3.4
pkgrel=1
epoch=1
pkgdesc="Library for calculating and applying network deltas"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url="http://librsync.sourcefrog.net/"
url="https://github.com/librsync/librsync"
license=('LGPL')
depends=('popt')
makedepends=('cmake')
provides=('librsync.so')
source=($pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz)
sha256sums=('ef8ce23df38d5076d25510baa2cabedffbe0af460d887d86c2413a1c2b0c676f')
source=(https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('a0dedf9fff66d8e29e7c25d23c1f42beda2089fb4eac1b36e6acd8a29edfbd1f')
prepare() {
cd "$srcdir/$pkgname-$pkgver"
cd $pkgname-$pkgver
mkdir build
}
build() {
cd "$srcdir/$pkgname-$pkgver/build"
cd $pkgname-$pkgver/build
cmake \
-DCMAKE_BUILD_TYPE=Release \
@ -34,12 +34,12 @@ build() {
}
check() {
cd "$srcdir/$pkgname-$pkgver/build"
cd $pkgname-$pkgver/build
make check
}
package() {
cd "$srcdir/$pkgname-$pkgver/build"
cd $pkgname-$pkgver/build
make DESTDIR="$pkgdir" install
}