desktop/owncloud-client/PKGBUILD
2016-10-01 20:57:05 +02:00

37 lines
1.0 KiB
Bash

_name=client
pkgname=owncloud-client
pkgver=2.2.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' 'qt5-webkit' 'hicolor-icon-theme' 'xdg-utils')
makedepends=('extra-cmake-modules' 'python3-sphinx' 'qt5-tools' 'doxygen' 'kio')
groups=('network')
conflicts=('csync-owncloud')
backup=('etc/owncloud-client/sync-exclude.lst')
install=${pkgname}.install
source=("https://github.com/owncloud/client/archive/v${pkgver}.tar.gz")
sha256sums=('416e8a003ba95387cb5e22fac909c2c2ee21765de413a26397027d36ad89e39b')
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
}