ladybird/Ports/serenity-theming/package.sh
djwisdom 3f38f61043 Ports: Update serenity-theming app use latest commit
Add fonts Hantschrift and Schwedische Schreibschrift
2022-12-04 14:02:18 -08:00

27 lines
1.1 KiB
Bash
Executable file

#!/usr/bin/env -S bash ../.port_include.sh
port=serenity-theming
version=b621077636f00a2b78ba09d5596777e8ac061bcc
workdir="theming-${version}"
files="https://github.com/SerenityOS/theming/archive/${version}.zip serenity-theming-${version}.zip 4f9304facd751b6096ee8a7617c80cedeb273d19336994712ba50a5b6c165ea3"
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}/terminal-colors" "${SERENITY_INSTALL_ROOT}/res/"
cp -r "${workdir}/wallpapers" "${SERENITY_INSTALL_ROOT}/res/"
cp "${workdir}/emoji-theming.txt" "${SERENITY_INSTALL_ROOT}/home/anon/Documents/emoji-theming.txt"
}