LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File PKGBUILD of Package cloudcross (Project home:MasterSoft24)

# Maintainer and Contributor: Vladimir Kamensky   <mastersoft24@yandex.ru>


pkgname=cloudcross
pkgver=1.4.1_rc2
pkgrel=4
pkgdesc="CloudCross is a improved multi-cloud client with OneDrive, Yandex disk, Google Drive, Dropbox and Mail.ru support."
arch=('i686' 'x86_64')
url="http://cloudcross.mastersoft24.ru"
license=('BSD')
categories=('network')
replaces=('grive2')



depends=( 'qt5-base' 'mesa' 'curl')
makedepends=( 'qt5-base' 'mesa' 'curl')
options=(!emptydirs)


source=("CloudCross-master.tar.gz")
#source=("dev.tar.gz")


md5sums=('5a3b00c26bc93193ec087bde7cdd2b28')


build() {

	cd "$srcdir/CloudCross-master"
	#cd "$srcdir/CloudCross-dev"
	
	rm -rf build
	mkdir build
	cd build
	qmake .. 
	make   
}
 
package() {
	cd "$srcdir/CloudCross-master/build"
	#cd "$srcdir/CloudCross-dev/build"
	
	mkdir -p "${pkgdir}/usr/bin"
        mkdir -p "${pkgdir}/usr/share/man/man0"
	
	
	cp "$srcdir/CloudCross-master/build/ccross-app/ccross" "${pkgdir}/usr/bin"
	cp "$srcdir/CloudCross-master/build/ccross-curl-executor/ccross-curl" "${pkgdir}/usr/bin"
        cp "$srcdir/CloudCross-master/ccross-app/doc/ccross" "${pkgdir}/usr/share/man/man0"

}