blob: 08d1596b205ed116b1b0c9ec437b5d8eeca70455 (
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
|
# Maintainer: KokaKiwi <kokakiwi+aur at kokakiwi dot net>
pkgname=plasma5-theme-mcsur-git
pkgver=r11.fa3dd65
pkgrel=1
pkgdesc='A materia Design theme for KDE Plasma desktop.'
url='https://github.com/yeyushengfan258/McSur-kde'
license=('GPL3')
arch=('any')
replaces=(plasmasur-dark-kde-theme-git)
makedepends=('git')
optdepends=(
'plasma-desktop: For plasma theme'
'kvantum-qt5: For kvantum theme'
'sddm: For SDDM theme'
)
source=("${pkgname}::git+https://github.com/yeyushengfan258/McSur-kde.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${pkgname}"
install -dm0755 "${pkgdir}/usr/share/aurorae/themes"
cp -rt "${pkgdir}/usr/share/aurorae/themes" aurorae/*
install -dm0755 "${pkgdir}/usr/share/color-schemes"
cp -rt "${pkgdir}/usr/share/color-schemes" color-schemes/*.colors
install -dm0755 "${pkgdir}/usr/share/Kvantum"
cp -rt "${pkgdir}/usr/share/Kvantum" Kvantum/*
install -dm0755 "${pkgdir}/usr/share/plasma/desktoptheme"
cp -rt "${pkgdir}/usr/share/plasma/desktoptheme" plasma/desktoptheme/*
install -dm0755 "${pkgdir}/usr/share/plasma/look-and-feel"
cp -rt "${pkgdir}/usr/share/plasma/look-and-feel" plasma/look-and-feel/*
install -dm0755 "${pkgdir}/usr/share/wallpapers"
cp -rt "${pkgdir}/usr/share/wallpapers" wallpaper/*
install -dm0755 "${pkgdir}/usr/share/sddm/themes"
cp -rt "${pkgdir}/usr/share/sddm/themes" sddm-dark/McSur-dark sddm-light/McSur-light
# Fix permissions
find "${pkgdir}/usr/share" -type f -exec chmod 0644 '{}' +
}
|