summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b68dfd733466b2444e58ef0b82a701ef58411d3d (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
42
43
44
45
46
47
# Maintainer: Archie Meng <archiemeng@protonmail.com>
pkgname=plasma-bigscreen-git
pkgver=r411.7344fe3
pkgrel=1
pkgdesc="A big launcher giving you easy access to any installed apps and skills."
arch=('any')
url="https://plasma-bigscreen.org/"
license=('GPL2')
groups=()
depends=('kdeconnect' 
	'plasma-nm' 
	'plasma-pa' 
	'plasma-remotecontrollers'
	'plasma-nano'
    'plasma-settings'
    'qt5-virtualkeyboard')

makedepends=('cmake' 'extra-cmake-modules-git' 'git') 
optdepends=('libcec: add USB-CEC support in order to be controled by TV remotes'
            'mycroft-core: add voice control support') # Todo: test optional dependecies 
provides=('plasma-bigscreen')
conflicts=('plasma-bigscreen')
replaces=()
backup=()
options=()
install=
source=('git+https://invent.kde.org/plasma/plasma-bigscreen.git')
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/plasma-bigscreen"
	printf "r%s.%s\n" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
	cd "$srcdir/plasma-bigscreen"
	cmake -B build \
	      -DCMAKE_INSTALL_PREFIX="/usr" \
      	  -DCMAKE_BUILD_TYPE=Release 

    cmake --build build --target all
}

package() {
	cmake --install "$srcdir/plasma-bigscreen/build" --prefix "$pkgdir/usr"
}