blob: ca8051c6a4af48f5b5f171fc6a02451cd5f1aa7b (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Maintainer: Jason Scurtu <code@xarbit.dev>
# Contributor: HurricanePootis <hurricanepootis@protonmail.com>
#
# Development AUR package — builds the latest `main`. CI renders 2.0.0.r746.gdb1101c
# with the current VCS version (base.r<count>.g<sha>) so the AUR page
# shows a live version; pkgver() recomputes it at build time. CI keeps
# this in sync — edit this template, not the AUR repo.
pkgname=plasma6-applets-appgrid-git
pkgver=2.0.0.r746.gdb1101c
pkgrel=1
pkgdesc="A modern application launcher for KDE Plasma (development build)"
arch=('x86_64')
url="https://appgrid.xarbit.dev"
license=('GPL-2.0-or-later')
provides=('plasma6-applets-appgrid')
conflicts=('plasma6-applets-appgrid')
install='plasma6-applets-appgrid.install'
depends=(
'plasma-workspace'
'kservice'
'layer-shell-qt'
'qt6-base'
'kirigami'
'kiconthemes'
'ksvg'
'glibc'
'kio'
'krunner'
'kdeclarative'
'qt6-declarative'
'libstdc++'
'libgcc'
'kcoreaddons'
'kcolorscheme'
'kconfig'
'kwindowsystem'
'kcmutils'
'libplasma'
'plasma-activities-stats'
'appstream-qt'
)
makedepends=(
'cmake'
'extra-cmake-modules'
'git'
)
source=("plasma6-applet-appgrid::git+https://github.com/xarbit/plasma6-applet-appgrid.git#branch=main")
sha256sums=('SKIP')
pkgver() {
cd "plasma6-applet-appgrid"
local base
base=$(grep -oP 'project\(AppGrid VERSION \K[0-9.]+' CMakeLists.txt)
printf '%s.r%s.g%s' "$base" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -S "plasma6-applet-appgrid" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|