40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'seafile-libclient'
|
|
pkgname=seafile-libclient
|
|
version=6.1.7
|
|
revision=1
|
|
_distname="${pkgname/-libclient/}"
|
|
wrksrc="${_distname}-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="automake intltool libsearpc-codegen libtool pkg-config vala"
|
|
makedepends="ccnet-devel libcurl-devel"
|
|
depends="python"
|
|
short_desc="Cloud storage system - client command-line and libraries"
|
|
maintainer="yopito <pierre.bourgin@free.fr>"
|
|
license="GPL-2.0-or-later" # Has openssl exception not yet present on SPDX
|
|
homepage="https://github.com/haiwen/seafile"
|
|
distfiles="${homepage}/archive/v${version}.tar.gz>${_distname}-${version}.tar.gz"
|
|
checksum=91a4b923155f3ae7c7391d272afec8eebc40866767e45b1ce5a78783a3523fa4
|
|
|
|
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
|
|
}
|
|
}
|