summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b72207970d9c131b80b6fe8b2fab670241e811d (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
# Maintainer: Luke Short <ekultails at gmail dot com>

pkgname=plasma5-themes-vapor-steamos
pkgver=0.16
pkgrel=3
pkgdesc="Vapor theme for KDE Plasma from SteamOS 3"
license=("GPL2")
arch=("any")
source=("https://steamdeck-packages.steamos.cloud/archlinux-mirror/jupiter-rel/os/x86_64/steamdeck-kde-presets-${pkgver}-1-any.pkg.tar.zst")
sha512sums=("780d8796a9f37d7a46fbc92f0e1aaddf05f764c9099cabc5a2c4c134ec1473c856f441e1547437cd2175e2d86e26f09f9922c9477c83ba287f7ded8adc228291")
# This was the old package name using the incorrect naming convention.
# https://wiki.archlinux.org/title/KDE_package_guidelines#KF5_package_naming
conflicts=("vapor-steamos-theme-kde")
replaces=("vapor-steamos-theme-kde")

package() {
    echo "PKG DIR: $pkgdir"
    mkdir -p \
      ${pkgdir}/etc/ \
      ${pkgdir}/usr/share/icons/ \
      ${pkgdir}/usr/share/plasma/ \
      ${pkgdir}/usr/share/plasma/desktoptheme/ \
      ${pkgdir}/usr/share/plasma/look-and-feel/ \
      ${pkgdir}/usr/share/themes/
    mv etc/xdg ${pkgdir}/etc/
    # Prevent Steam from automatically starting by default.
    rm -f ${pkgdir}/etc/xdg/autostart/steam.desktop
    # This file conflicts with the "konsole" package.
    rm -f ${pkgdir}/etc/xdg/konsolerc
    mv usr/share/color-schemes ${pkgdir}/usr/share/
    mv usr/share/icons/hicolor ${pkgdir}/usr/share/icons/
    mv usr/share/plasma/avatars $pkgdir/usr/share/plasma/
    mv usr/share/plasma/desktoptheme/Vapor ${pkgdir}/usr/share/plasma/desktoptheme/
    mv usr/share/plasma/look-and-feel/com.valve.vapor.desktop ${pkgdir}/usr/share/plasma/look-and-feel/
    mv usr/share/themes/Vapor/ ${pkgdir}/usr/share/themes/
    mv usr/share/wallpapers ${pkgdir}/usr/share/
    mv usr/share/konsole ${pkgdir}/usr/share/
}