diff options
author | Liav A <liavalb@gmail.com> | 2022-05-28 11:28:04 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-05-29 19:29:34 +0100 |
commit | be3fec7c9e03f7a3c683161fe0aa68d98e709149 (patch) | |
tree | ad384a88e364775fbbe5f08955b4521b9de9ac3d | |
parent | 3c1f899050559472542abb719c3233a4adbaa2bc (diff) | |
download | serenity-be3fec7c9e03f7a3c683161fe0aa68d98e709149.zip |
Ports: Add SerenityOS theming repository code as ported software
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/serenity-theming/package.sh | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index 2386aef0c6..04ad3a50e0 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -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 | diff --git a/Ports/serenity-theming/package.sh b/Ports/serenity-theming/package.sh new file mode 100755 index 0000000000..58ae8f8f0c --- /dev/null +++ b/Ports/serenity-theming/package.sh @@ -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/" +} |