desktop/owncloud-client/PKGBUILD
2016-03-28 22:34:47 +02:00

36 lines
961 B
Bash

_name=client
pkgname=owncloud-client
pkgver=2.1.1
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')
makedepends=('cmake' 'python3-sphinx' 'qt5-tools' 'doxygen')
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=('3eb349e0b5195dd48cfac3288fd45ae545266202b3e3403bc00ffaa4537a3f9d')
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} \
make
make doc-man
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}