ladybird/Ports/serenity-theming/package.sh

29 lines
1.1 KiB
Bash
Executable File

#!/usr/bin/env -S bash ../.port_include.sh
port=serenity-theming
version=cd1fd731e6197c8f687984e540fdaa993be1dec3
workdir="theming-${version}"
files="https://github.com/SerenityOS/theming/archive/${version}.zip serenity-theming-${version}.zip d3127e35008776c9a3b089f2bc2365ac7456a77900f0544adce776b9cbce76a7"
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/"
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"
}