aboutsummaryrefslogblamecommitdiffstats
path: root/community/nextcloud-client/APKBUILD
blob: b5c369dfbce69db80fa7fdc7c99d2b8268e42306 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                     
                        

            

                                                 
                                                           


                                                                           
                          
                               

                                                                                              


                      



                                              
                                                        
                




                                      

 
                                                                                                                                                                      
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud-client
pkgver=2.5.2
pkgrel=0
pkgdesc="Nextcloud Desktop Client"
url="https://github.com/nextcloud/client_theming"
arch="all !x86 !s390x !ppc64le" # qt5-qtwebengine not avail
license="GPL-2.0-only"
makedepends="$depends_dev cmake doxygen qt5-qtwebengine-dev qt5-qttools-dev
	qt5-qtwebkit-dev qt5-qtkeychain-dev"
subpackages="$pkgname-dev"
options="!check" # no testsuite
source="nextcloud-client.tar.gz::https://github.com/nextcloud/desktop/archive/v$pkgver.tar.gz"
builddir="$srcdir"/desktop-$pkgver

build() {
	cd "$builddir"
	cmake \
		-DCMAKE_BUILD_TYPE="Release" \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_SYSCONFDIR=/etc/$pkgname
	make all
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="1000b420355d7a4104ca5b41e813d467dcb345b60c79c78ce532de9c58ea89cad10d5565a433409bd512f0f7771c18c7c27974b968c74f84ccfda1ed3510d3ae  nextcloud-client.tar.gz"