blob: a7ee5068dbe97df6d9c3f49d72d3d135156d9a43 (
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
|
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
# Maintainer: Anupam Srivastava <anupam@dont.tech>
pkgname=plasma5-themes-fluent-git
_themeName=Fluent
_gitname="$_themeName-kde"
pkgver=r100.ff5a90b
pkgrel=1
pkgdesc="Fluent design theme for kde plasma"
arch=('any')
url="https://github.com/vinceliuice/${_gitname}"
license=('GPL3')
optdepends=('plasma-desktop: for included plasma theme' 'kvantum: for included kvantum theme' 'sddm: for included sddm theme' 'fluent-icon-theme-git: matching icon theme' 'fluent-cursor-theme-git: matching cursor theme' 'fluent-gtk-theme-git: matching gtk theme')
makedepends=('git')
source=("git+${url}.git")
sha256sums=('SKIP')
conflicts=('fluent-kde-theme-git')
pkgver() {
cd ${_gitname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
# make folders
mkdir -p "${pkgdir}/usr/share/aurorae/themes"
mkdir -p "${pkgdir}/usr/share/color-schemes"
mkdir -p "${pkgdir}/usr/share/plasma/desktoptheme"
mkdir -p "${pkgdir}/usr/share/plasma/look-and-feel"
mkdir -p "${pkgdir}/usr/share/plasma/layout-templates"
mkdir -p "${pkgdir}/usr/share/plasma/plasmoids"
mkdir -p "${pkgdir}/usr/share/Kvantum"
mkdir -p "${pkgdir}/usr/share/sddm/themes"
mkdir -p "${pkgdir}/usr/share/wallpapers"
# aurorae theme
cp -r "${srcdir}/${_gitname}/aurorae"/* "${pkgdir}/usr/share/aurorae/themes"
# kvantum theme
cp -r "${srcdir}/${_gitname}/Kvantum"/* "${pkgdir}/usr/share/Kvantum"
# color scheme
cp -r "${srcdir}/${_gitname}/color-schemes"/* "${pkgdir}/usr/share/color-schemes"
# desktop theme
cp -r "${srcdir}/${_gitname}/plasma/desktoptheme"/* "${pkgdir}/usr/share/plasma/desktoptheme"
# look and feel
cp -r "${srcdir}/${_gitname}/plasma/look-and-feel"/* "${pkgdir}/usr/share/plasma/look-and-feel"
# layout-templates
cp -r "${srcdir}/${_gitname}/plasma/layout-templates"/* "${pkgdir}/usr/share/plasma/layout-templates"
# plasmoids
cp -r "${srcdir}/${_gitname}/plasma/plasmoids"/* "${pkgdir}/usr/share/plasma/plasmoids"
# wallpaper
cp -r "${srcdir}/${_gitname}/wallpaper"/* "${pkgdir}/usr/share/wallpapers/"
# sddm
cp -r "${srcdir}/${_gitname}/sddm/${_themeName}" "${pkgdir}/usr/share/sddm/themes"
}
|