diff --git a/srcpkgs/librsync/template b/srcpkgs/librsync/template index 205a68ae7c..d7549aa977 100644 --- a/srcpkgs/librsync/template +++ b/srcpkgs/librsync/template @@ -1,28 +1,27 @@ # Template file for 'librsync' pkgname=librsync -version=1.0.0 +version=2.0.0 revision=1 -build_style=gnu-configure -configure_args="--enable-shared" -hostmakedepends="automake libtool" +build_style=cmake +hostmakedepends="cmake perl" makedepends="zlib-devel bzip2-devel popt-devel" maintainer="Juan RP " homepage="http://librsync.sourceforge.net/" license="LGPL-2.1" short_desc="A library that implements the rsync remote-delta algorithm (rdiff)" -distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=2195998516960ce84d93f88ee3bfd92f430a16cdba4b5d34560a39fa13fcafd9 +distfiles="https://github.com/${pkgname}/${pkgname}/archive/v${version}.tar.gz" +checksum=b5c4dd114289832039397789e42d4ff0d1108ada89ce74f1999398593fae2169 -pre_configure() { - ./autogen.sh +post_install() { + vman doc/rdiff.1 } + librsync-devel_package() { short_desc+=" - development files" depends="${sourcepkg}-${version}_${revision}" pkg_install() { vmove usr/include - vmove usr/lib/*.a vmove usr/lib/*.so - vmove usr/share/man/man3 + vman doc/librsync.3 } }