mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
36 lines
995 B
Bash
36 lines
995 B
Bash
_name=client
|
|
pkgname=owncloud-client
|
|
pkgver=2.3.3
|
|
pkgrel=1
|
|
pkgdesc="ownCloud client based on mirall"
|
|
arch=('x86_64')
|
|
url="http://owncloud.org/"
|
|
screenshot="http://owncloud.org/wp-content/uploads/2012/03/linux3.png"
|
|
license=('GPL2')
|
|
depends=('qtkeychain' 'qt5-webkit' 'hicolor-icon-theme' 'xdg-utils')
|
|
makedepends=('extra-cmake-modules' 'python3-sphinx' 'qt5-tools' 'doxygen' 'kio')
|
|
groups=('network')
|
|
backup=('etc/owncloud-client/sync-exclude.lst')
|
|
install=${pkgname}.install
|
|
source=("https://github.com/owncloud/client/archive/v${pkgver}.tar.gz")
|
|
sha256sums=('ee276d3f6215764f04d19c4f793ebf009eb5915f1b550777511580bcee198e04')
|
|
|
|
build() {
|
|
mkdir -p build && cd build
|
|
|
|
cmake ../${_name}-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc/${pkgname} \
|
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
|
|
|
make
|
|
make doc-man
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|