39 lines
1.3 KiB
Bash
39 lines
1.3 KiB
Bash
# Template file for 'seafile-libclient'
|
|
pkgname=seafile-libclient
|
|
version=5.1.3
|
|
revision=1
|
|
wrksrc="${pkgname/-libclient/}-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-server --enable-client --disable-fuse"
|
|
hostmakedepends="automake libtool pkg-config python vala intltool libsearpc-codegen"
|
|
makedepends="glib-devel sqlite-devel libressl-devel libevent-devel libuuid-devel
|
|
jansson-devel libsearpc-devel ccnet-devel libcurl-devel"
|
|
depends="python"
|
|
short_desc="Cloud storage system - client command-line and libraries"
|
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
|
license="GPL-3"
|
|
homepage="https://github.com/haiwen/${pkgname/-libclient/}"
|
|
distfiles="https://github.com/haiwen/${pkgname/-libclient/}/archive/v${version}.tar.gz>${pkgname/-libclient/}-${version}.tar.gz"
|
|
checksum=1d893442ce9df3fb90edc96bf2a1df54627a518eb7210605032fd7ead28ac98c
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
post_install() {
|
|
# remove server files
|
|
rm -rf "${DESTDIR}/usr/lib/python2.7/site-packages/seaserv"
|
|
|
|
vdoc "README.markdown"
|
|
}
|
|
|
|
seafile-libclient-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="seafile-libclient>=${version}_${revision} glib-devel libsearpc-devel jansson-devel"
|
|
pkg_install() {
|
|
vdoc "README.markdown"
|
|
vmove "usr/include"
|
|
vmove "usr/lib/*.so"
|
|
vmove "usr/lib/pkgconfig"
|
|
}
|
|
}
|