42 lines
1.4 KiB
Bash
42 lines
1.4 KiB
Bash
# Template file for 'owncloudclient'
|
|
pkgname=owncloudclient
|
|
version=4.2.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-Wno-dev -DWITH_AUTO_UPDATER=OFF"
|
|
hostmakedepends="pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel
|
|
kcoreaddons"
|
|
makedepends="qtkeychain-qt5-devel sqlite-devel qt5-declarative-devel kio-devel
|
|
qt5-tools-devel qt5-plugin-odbc qt5-plugin-tds qt5-plugin-pgsql qt5-plugin-mysql
|
|
qt5-plugin-sqlite libre-graph-api-cpp-qt-client libcloudproviders-devel"
|
|
depends="qt5-plugin-sqlite qt5-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/.rc/-rc}.tar.gz"
|
|
checksum=e31402a922c63dd94975cb3d8b0a0952374891024daf8e08ce4442cfba0729b1
|
|
subpackages="owncloudclient-kde5 owncloudclient-devel"
|
|
|
|
owncloudclient-kde5_package() {
|
|
short_desc+=" - KDE 5 integration"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove "usr/lib/*dolphin*"
|
|
vmove "usr/lib/qt5/plugins/*dolphin*"
|
|
vmove "usr/lib/qt5/plugins/kf5"
|
|
}
|
|
}
|
|
|
|
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"
|
|
}
|
|
}
|