blob: 97ee473dc9848eea65d79fcfb3efdba9848827b1 (
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
|
# Maintainer: Marco Migozzi <https://github.com/ToRvaLDz>
pkgname=ii-material-sddm-git
pkgver=r.1
pkgrel=1
pkgdesc="Material Design 3 SDDM theme inspired by the ii lockscreen from end-4/dots-hyprland"
arch=('any')
url="https://github.com/ToRvaLDz/ii-material-sddm"
license=('GPL-3.0-only')
depends=('sddm')
optdepends=(
'qt6-5compat: blur effects'
'acl: automatic matugen color/wallpaper sync'
'ttf-google-sans: clock and UI font'
)
makedepends=('git')
provides=('ii-material-sddm')
conflicts=('ii-material-sddm')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${pkgname}"
local theme_dir="${pkgdir}/usr/share/sddm/themes/ii-material-sddm"
install -d "${theme_dir}/Components" "${theme_dir}/Backgrounds"
install -m644 Main.qml metadata.desktop theme.conf translations.js "${theme_dir}/"
install -m644 colors.json "${theme_dir}/" 2>/dev/null || true
install -m644 Components/*.qml "${theme_dir}/Components/"
install -m644 Backgrounds/* "${theme_dir}/Backgrounds/" 2>/dev/null || true
}
|