blob: 5cd28e90df6bb6bb877875be98a1844a675ae98f (
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
32
33
34
35
36
37
38
39
40
|
pkgname=stack-client
pkgver=3.2.0
pkgrel=2
pkgdesc="The STACK Client provides file sync to desktop clients."
arch=('x86_64')
url='https://www.transip.nl/stack/'
license=(GPL2)
depends=('qtkeychain' 'qt5-webengine' 'hicolor-icon-theme' 'xdg-utils' 'libcloudproviders')
optdepends=('python-nautilus: integration with Nautilus' 'nemo-python: integration with Nemo')
makedepends=('cmake' 'qt5-tools' 'extra-cmake-modules' 'frameworkintegration5')
conflicts=('stack-client-bin')
source=("http://filehosting-client.transip.nl/packages/stack/v${pkgver}-20230307/source/stack-v${pkgver}-20230307.tar.gz"
"APPLICATION_NAME.patch")
sha256sums=('868d0132394c03864f42d19db942d424c41e95b9f9b20c723d5169a27479f69b'
'977dbb37deac79bbd65c822887c92a44fde66a5fb65d73d27b326099996309bd')
prepare() {
cd client
patch -p1 < ${srcdir}/APPLICATION_NAME.patch
}
build() {
mkdir -p stack-client-build
cd stack-client-build
cmake ../client \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DLINUX_PACKAGE_SHORTNAME=stack \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_SYSCONFDIR=/etc/${pkgname} \
-DAPPLICATION_EXECUTABLE=stack-client \
-DMIRALL_VERSION_SUFFIX=
make
}
package() {
cd ${srcdir}/stack-client-build
make DESTDIR=${pkgdir} install
}
|