diff --git a/srcpkgs/libsearpc/template b/srcpkgs/libsearpc/template index 832a90eb0b..e16f1fd3a2 100644 --- a/srcpkgs/libsearpc/template +++ b/srcpkgs/libsearpc/template @@ -1,36 +1,35 @@ # Template file for 'libsearpc' pkgname=libsearpc -reverts="3.0.8_1" -version=3.0.7 -revision=2 +version=3.1.0 +revision=1 build_style=gnu-configure +pycompile_module="pysearpc" configure_args="--disable-static --disable-compile-demo" hostmakedepends="automake libtool pkg-config python" -makedepends="glib-devel jansson-devel" - +makedepends="libglib-devel jansson-devel" short_desc="Seafile RPC library" maintainer="yopito " -license="GPL-3" +license="LGPL-3.0-or-later, Apache-2.0" homepage="https://github.com/haiwen/${pkgname}" distfiles="https://github.com/haiwen/${pkgname}/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz" -checksum=efee6b495f93e70101c87849c78b135014dfd2f0e5c08dcfed9834def47cb939 +checksum=cbd86d3c37b54ca2060ca537a07940fe3e98498abf345b2f3e1cec488230231a pre_configure() { ./autogen.sh } post_install() { - vdoc "AUTHORS" - vdoc "README.markdown" + vdoc AUTHORS + vdoc README.markdown } libsearpc-devel_package() { short_desc+=" - development files" depends="${sourcepkg}>=${version}_${revision} ${makedepends}" pkg_install() { - vmove "usr/include" + vmove usr/include vmove "usr/lib/*.so" - vmove "usr/lib/pkgconfig" + vmove usr/lib/pkgconfig } } @@ -39,8 +38,8 @@ libsearpc-codegen_package() { depends="python" noarch=yes pkg_install() { - vdoc "AUTHORS" - vdoc "README.markdown" - vmove "usr/bin/searpc-codegen.py" + vdoc AUTHORS + vdoc README.markdown + vmove usr/bin/searpc-codegen.py } }