summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f8ed67be14b2e597984534ffef4f146b18d0a7dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Maintainer: Vladimir Kamensky <mastersoft24@yandex.ru>

pkgname=cloudcross
pkgver=1.4.8
pkgrel=1
pkgdesc="Opensource cross-platform client for multiple cloud providers."
arch=('x86_64')
url="http://cloudcross.mastersoft24.ru"
license=('BSD')
categories=('network')
replaces=('grive2')
depends=( 'qt5-base' 'curl')
source=("$pkgname-$pkgver::https://github.com/MasterSoft24/CloudCross/archive/v$pkgver.tar.gz")
md5sums=('c4ebdd415ee2d4fa571d690e1a0187b1')

build() {
	cd CloudCross-$pkgver
	rm -rf build
	mkdir build
	cd build
	qmake .. 
	make   
}
 
package() {
	cd CloudCross-$pkgver/build
	install -Dm755 ccross-app/ccross "$pkgdir/usr/bin/ccross"
	install -m755  ccross-curl-executor/ccross-curl "$pkgdir/usr/bin"
	install -Dm644 ../ccross-app/doc/ccross "$pkgdir/usr/share/man/man1/ccross.1"
	install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}