summaryrefslogtreecommitdiff
path: root/rdiff/Pkgfile
blob: e42182097e4bab41cf9413b3041a663b3bc4d146 (plain)
    1 # Description: Compute and apply signature-based file differences
    2 # URL:         http://librsync.sourceforge.net/
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Depends on:  librsync
    5 
    6 name=rdiff
    7 version=2.2.1
    8 release=1
    9 source=(https://github.com/librsync/librsync/archive/v$version/librsync-v$version.tar.gz)
   10 
   11 build() {
   12     cd librsync-$version
   13 
   14     mkdir build
   15     cd build
   16 
   17     cmake .. \
   18       -DCMAKE_INSTALL_PREFIX=/usr \
   19       -DCMAKE_INSTALL_LIBDIR=lib \
   20       -DCMAKE_BUILD_TYPE=Release
   21 
   22     make
   23 
   24     install -D -m 755 rdiff $PKG/usr/bin/rdiff
   25     install -D -m 644 ../doc/rdiff.1 $PKG/usr/share/man/man1/rdiff.1
   26 }

Generated by cgit