summaryrefslogtreecommitdiff
path: root/Ports/serenity-theming/package.sh
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2022-05-28 11:28:04 +0300
committerLinus Groh <mail@linusgroh.de>2022-05-29 19:29:34 +0100
commitbe3fec7c9e03f7a3c683161fe0aa68d98e709149 (patch)
treead384a88e364775fbbe5f08955b4521b9de9ac3d /Ports/serenity-theming/package.sh
parent3c1f899050559472542abb719c3233a4adbaa2bc (diff)
downloadserenity-be3fec7c9e03f7a3c683161fe0aa68d98e709149.zip
Ports: Add SerenityOS theming repository code as ported software
Diffstat (limited to 'Ports/serenity-theming/package.sh')
-rwxr-xr-xPorts/serenity-theming/package.sh22
1 files changed, 22 insertions, 0 deletions
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/"
+}