blob: 101679e99171d44fee970c820d5c7d010c35f6c0 (
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
|
# Maintainer:
# Contributor: Pratik Pingale <pratikbpingale9075@gmail.com>
_pkgname="boo-sddm"
pkgname="$_pkgname-git"
pkgver=r33.3377e4c
pkgrel=3
pkgdesc="A dark SDDM theme based on Corners"
url="https://github.com/PROxZIMA/boo-sddm"
license=('GPL-3.0-only')
arch=('any')
depends=(
'sddm'
'qt5-graphicaleffects'
'qt5-svg'
'qt5-quickcontrols2'
)
provides=("$_pkgname")
conflicts=("$_pkgname")
_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
package() {
cd "$_pkgsrc"
install -Dm644 assets/sddm.png "$pkgdir/usr/share/sddm/themes/boo/preview.png"
install -Dm644 /dev/stdin "$pkgdir/usr/share/sddm/themes/boo/metadata.desktop" << END
[SddmGreeterTheme]
Name=Boo
Description=Boo
Type=sddm-theme
Version=0.0.1
Website=https://github.com/PROxZIMA/boo-sddm
Screenshot=preview.png
MainScript=Main.qml
ConfigFile=theme.conf
Theme-Id=boo
Theme-API=2.0
QtVersion=5
END
#install -dm755 "$pkgdir/usr/share/sddm/themes/boo"
cp -r boo/* "$pkgdir/usr/share/sddm/themes/boo/"
install -dm755 "$pkgdir/usr/share/fonts/TTF/"
mv "$pkgdir/usr/share/sddm/themes/boo/ChalKDust.ttf" "$pkgdir/usr/share/fonts/TTF/"
}
|