Ports: Add SerenityOS theming repository code as ported software

This commit is contained in:
Liav A 2022-05-28 11:28:04 +03:00 committed by Linus Groh
parent 3c1f899050
commit be3fec7c9e
2 changed files with 23 additions and 0 deletions

View file

@ -208,6 +208,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`SDL2_net`](SDL2_net/) | SDL2\_net (network add-on for SDL2) | 2.0.1 | https://www.libsdl.org/projects/SDL_net/ |
| [`SDL2_ttf`](SDL2_ttf/) | SDL2\_ttf (TrueType Font add-on for SDL2) | 2.0.18 | https://www.libsdl.org/projects/SDL_ttf/ |
| [`sed`](sed/) | GNU sed | 4.8 | https://www.gnu.org/software/sed/ |
| [`serenity-theming`](serenity-theming/) | SerenityOS theming | 52a65ad | https://github.com/SerenityOS/theming |
| [`sfinx`](sfinx/) | Sfinx | 1.1 | https://www.scummvm.org/games/#games-sfinx |
| [`sl`](sl/) | Steam Locomotive (SL) | | https://github.com/mtoyoda/sl |
| [`soltys`](soltys/) | Soltys | 1.0 | https://www.scummvm.org/games/#games-soltys |

View file

@ -0,0 +1,22 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=serenity-theming
version=52a65ad2eb09238a1a0015b522001d02fceefd06
workdir="theming-${version}"
files="https://github.com/SerenityOS/theming/archive/${version}.zip serenity-theming-${version}.zip 0c2ce77b6e21dd8e991c34de0cea596e1e3cb4862cd70700394721551af4be2e"
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/"
}