mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 08:47:15 +08:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
# Contributions from Arch:
|
|
# Maintainer: Konstantin Shalygin <k0ste@k0ste.ru>
|
|
# Contributor: Konstantin Shalygin <k0ste@k0ste.ru>
|
|
|
|
pkgname=nextcloud-client
|
|
pkgver=2.5.0
|
|
pkgrel=1
|
|
pkgdesc='Nextcloud desktop client'
|
|
arch=('x86_64')
|
|
url='https://nextcloud.com/'
|
|
license=('GPL2')
|
|
depends=('qt5-webengine' 'qt5-webkit' 'hicolor-icon-theme' 'xdg-utils' 'qtkeychain')
|
|
makedepends=('extra-cmake-modules' 'python3-sphinx' 'qt5-tools' 'doxygen' 'kio')
|
|
optdepends=('kio: Resource and network access abstraction (KDE)')
|
|
conflicts=('owncloud-client')
|
|
replaces=('owncloud-client')
|
|
source=("https://github.com/nextcloud/desktop/archive/v${pkgver}.tar.gz")
|
|
sha256sums=('4d639f43e49fd4367cd1b99bf21aecb2eac3bd89a7b0d96c7d2a0975baad6528')
|
|
backup=('etc/Nextcloud/sync-exclude.lst')
|
|
|
|
prepare() {
|
|
mkdir -p "${srcdir}/desktop-${pkgver}/build"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/desktop-${pkgver}/build"
|
|
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
make
|
|
make doc-man
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/desktop-${pkgver}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|