blob: 4b2948b1e6d2fc86f73d24f38f38a990f850e78a (
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
67
68
69
70
71
|
# Maintainer: Edmund Lodewijks <edmund at proteamail.com>
# Note: namcap will warn about missing org.kde.plasma.login QML module
# This is a false positive - the QML is embedded in plasma-login-greeter binary as Qt resources
pkgname=plasma-login-manager-git
_pkgname=plasma-login-manager
pkgver=r1942.b44d3ef
pkgrel=1
pkgdesc='Plasma Login provides a display manager for KDE Plasma, forked from SDDM and with an new frontend providing a greeter, wallpaper plugin integration and System Settings module (KCM).'
url='https://invent.kde.org/plasma/plasma-login-manager'
arch=(x86_64)
license=('CC-BY-3.0 AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only OR GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later')
depends=(
'sh'
'systemd-libs'
'kpackage'
'layer-shell-qt'
'qt6-declarative'
'libplasma'
'kdbusaddons'
'kio'
'kconfig'
'kwindowsystem'
'kirigami'
'plasma-workspace'
'libplasma>=6.5.90'
'kcoreaddons'
'qt6-base'
'kservice'
'kauth'
'kcmutils'
'ki18n'
'libxau' # Hard dependency upstream
)
makedepends=(
'extra-cmake-modules'
'git'
'qt6-tools'
)
source=(
git+https://invent.kde.org/plasma/plasma-login-manager.git/
)
b2sums=('SKIP')
provides=(display-manager)
conflicts=(plasma-login-manager)
install=plasmalogin.install
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cmake -B build -S $_pkgname \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DDBUS_CONFIG_FILENAME=plasmalogin_org.freedesktop.DisplayManager.conf
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 "$srcdir/$_pkgname"/LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"/
install -Dm644 "$srcdir/$_pkgname"/LICENSE.CC-BY-3.0 -t "$pkgdir"/usr/share/licenses/"$pkgname"/
for license in "$srcdir/$_pkgname/LICENSES/"*; do
install -Dm644 "$license" "$pkgdir/usr/share/licenses/$pkgname/$(basename "$license")"
done
}
|