blob: 0b58c0dd0d8350cc8b561992ea92fd2313dbf7ec (
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
|
# Maintainer: WackyIdeas <wackyideas@disroot.org>
pkgname=('aeroshell-libplasma-git')
pkgver=6.6.2_17865.r6aa6d2f0b
pkgrel=1
pkgdesc="Plasma library and runtime components, with AeroShell patches"
arch=(x86_64)
url="https://github.com/aeroshell-desktop/libplasma"
license=(LGPL-2.0-or-later)
depends=(gcc-libs
glibc
plasma-activities
kcolorscheme
kconfig
kcoreaddons
kglobalaccel
kguiaddons
ki18n
kiconthemes
kio
kirigami
knotifications
kpackage
ksvg
kwidgetsaddons
kwindowsystem
libglvnd
libx11
libxcb
qt6-5compat
qt6-base
qt6-declarative
wayland)
makedepends=(git
extra-cmake-modules
kdoctools
plasma-wayland-protocols)
conflicts=(plasma-framework libplasma aeroshell-libplasma)
replaces=(plasma-framework)
provides=(libplasma aeroshell-libplasma)
options=('!debug')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%}"
echo "$(grep 'set(PROJECT_VERSION ' CMakeLists.txt | cut -d '"' -f 2)_$(git rev-list --count HEAD).r$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -S ${pkgname%} \
-DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|