ladybird/Ports/serenity-theming/package.sh
djwisdom afc067bc38 Ports: Update serenity-theming use latest commit ba2ddd0
Snake: Add Buggie skin
Snake: Add CatDog skin
Chess: Add ugly piece set
Base: Add Hotdog Stand theme
2023-03-27 14:28:45 +01:00

30 lines
1.2 KiB
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=serenity-theming
version=ba2ddd0c24fe584f7756285598accf12c093fa26
workdir="theming-${version}"
files="https://github.com/SerenityOS/theming/archive/${version}.zip serenity-theming-${version}.zip 5adb965de29910bfa45b67106dc578948798c1fa5d1bafd2371f86117a38abdb"
auth_type="sha256"
build() {
:
}
install() {
:
}
post_install() {
cp -r "${workdir}/icon-themes" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/cursor-themes" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/icons" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/themes" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/fonts" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/color-palettes" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/emoji" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/graphics" "${SERENITY_INSTALL_ROOT}/res/"
# FIXME: Update this path upstream.
cp -r "${workdir}/color-schemes" "${SERENITY_INSTALL_ROOT}/res/color-schemes/"
cp -r "${workdir}/wallpapers" "${SERENITY_INSTALL_ROOT}/res/"
cp "${workdir}/emoji-theming.txt" "${SERENITY_INSTALL_ROOT}/home/anon/Documents/emoji-theming.txt"
}