Commit 14f0993f authored by Leonardo Arena's avatar Leonardo Arena

testing/nextcloud-client: new aport

WebDAV syncronization client for Nextcloud
parent 3fdd87f9
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=nextcloud-client
_realname=client_theming
pkgver=2.2.4
pkgrel=0
pkgdesc="Nextcloud Desktop Client"
url="https://github.com/nextcloud/client_theming"
arch="all"
license="GPL2"
depends=
depends_dev=
makedepends="$depends_dev cmake qt5-qttools-dev qt5-qtwebkit-dev
qt5-qtkeychain-dev"
install=
subpackages="$pkgname-dev"
source="owncloud-client-$pkgver.tar.gz::https://github.com/owncloud/client/archive/v$pkgver.tar.gz
$pkgname-$pkgver.tar.gz::https://github.com/nextcloud/$_realname/archive/v$pkgver.tar.gz"
builddir="$srcdir"/client-$pkgver
build() {
cd "$builddir"
# mkdir _build.tmp && cd _build.tmp
cmake \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/$pkgname \
-DOEM_THEME_DIR="$srcdir/$_realname-$pkgver/nextcloudtheme"
make all || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
# remove the 2 lines below (and this) if there is no init.d script
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
# install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}
md5sums="144022a1773df0c4a25686a043bf4b1f owncloud-client-2.2.4.tar.gz
6d612c661f90e5ce1e0791520ecd6df3 nextcloud-client-2.2.4.tar.gz"
sha256sums="416e8a003ba95387cb5e22fac909c2c2ee21765de413a26397027d36ad89e39b owncloud-client-2.2.4.tar.gz
55a16505c8551cb8e6af5d2f570b6d4384f33a75a79810864e1d4555d53dedf9 nextcloud-client-2.2.4.tar.gz"
sha512sums="95de459bf818201d92b55ea0e4a0c2f6aa8f8d5fd57de2c937b7679bfafd4f98e64a793b00bbc5654da36c06a8c78f8f85aad449b5190b82d8a7f529f8714018 owncloud-client-2.2.4.tar.gz
646e624335cc11ac862b1b58ceb36aa8264f2db6ed586ae473b7522a5fdab7e30f196c1680f8dcf70af3b204374488e3bd589bb41669f9abcd9509d2293afc3f nextcloud-client-2.2.4.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment