libsearpc: update to 3.1.0.

This commit is contained in:
maxice8 2018-08-22 09:26:10 -03:00
parent b0e5abb4e7
commit 3569a166a5
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -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 <pierre.bourgin@free.fr>"
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
}
}