void-packages/srcpkgs/owncloudclient/template

39 lines
1.3 KiB
Bash

# Template file for 'owncloudclient'
pkgname=owncloudclient
version=5.2.1
revision=1
build_style=cmake
configure_args="-Wno-dev -DWITH_AUTO_UPDATER=OFF
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="pkg-config extra-cmake-modules qt6-base qt6-tools"
makedepends="qt6-base-devel qtkeychain-qt6-devel libre-graph-api-cpp-qt-client
KDSingleApplication"
depends="qt6-plugin-sqlite qt6-plugin-tls-openssl qt6-svg"
conf_files="/etc/ownCloud/sync-exclude.lst"
short_desc="Connect to ownCloud servers"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-2.0-or-later"
homepage="https://www.owncloud.org"
changelog="https://raw.githubusercontent.com/owncloud/client/master/CHANGELOG.md"
distfiles="https://github.com/owncloud/client/archive/v${version}.tar.gz"
checksum=f73afffc08a1788abbb7e8e66a3a2c39f638d1584402b0d04594c3bb99035ef1
owncloudclient-kde5_package() {
# kde5 integration has been moved to:
# https://github.com/owncloud/client-desktop-shell-integration-dolphin
build_style=meta
short_desc+=" - KDE 5 integration"
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
}
owncloudclient-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision} qt5-devel"
pkg_install() {
vmove "usr/include"
vmove "usr/lib/cmake"
vmove "usr/lib/*.so"
}
}