opt/rdiff/Pkgfile
2020-07-10 23:18:30 +10:00

22 lines
643 B
Plaintext

# Description: Compute and apply signature-based file differences
# URL: https://github.com/librsync/librsync
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: librsync
name=rdiff
version=2.3.1
release=1
source=(https://github.com/librsync/librsync/archive/v$version/librsync-v$version.tar.gz)
build() {
cmake -Slibrsync-$version -Bbuild \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=Release
cmake --build build
install -D -m 755 build/rdiff $PKG/usr/bin/rdiff
install -D -m 644 librsync-$version/doc/rdiff.1 $PKG/usr/share/man/man1/rdiff.1
}