blob: b7c7122019a4c9ee6ba841973741b140d06e6c69 (
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
41
|
# Maintainer: JP Roemer <jp+aur@roemer.im>
# Contributor: Emanuele 'Lele' Calo
# Contributor: c0gnitivefl0w
# Contributor: Redpill13
# Contributor: eolianoe <eolianoe [at] gmail [DoT] com>
pkgname=seadrive-gui
pkgver=2.0.28
pkgrel=1
pkgdesc="GUI part of seadrive"
arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
url="https://github.com/haiwen/${pkgname}"
license=('Apache')
depends=('qt5-webengine' 'qt5-tools' 'seadrive-daemon')
makedepends=("cmake")
source=("${pkgname}-v${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
sha256sums=('5de52569bd8d212ce5e915b0bed6df09bc080c27dd6daf98785cbdf0d11a2619')
prepare() {
# Create build dir
rm -rf build
mkdir -p build
}
build () {
# Build seadrive-gui
cd "$srcdir/build"
cmake \
-Wno-dev \
-DBUILD_SPARKLE_SUPPORT=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
"${srcdir}/${pkgname}-${pkgver}"
make
}
package () {
# Install seadrive-gui
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
|