mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
34 lines
957 B
Bash
34 lines
957 B
Bash
pkgname=owncloud-client
|
|
pkgver=2.3.4
|
|
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://download.owncloud.com/desktop/stable/owncloudclient-$pkgver.tar.xz")
|
|
sha256sums=('89409e68f8290930088c5ed1da483a1c1b56d45695ac9192e81a2d71690df1ba')
|
|
|
|
build() {
|
|
mkdir -p build && cd build
|
|
|
|
cmake ../owncloudclient-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc/${pkgname}
|
|
|
|
make
|
|
make doc-man
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|