summaryrefslogtreecommitdiffstats
path: root/SlackBuild/doinst.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-07-17 11:42:28 +0200
committerDanilo M. <danix@danix.xyz>2026-07-17 11:42:28 +0200
commit4eb63ab2ba4d703affbe85fb9d616334019d6b7c (patch)
treec86391e68bbf32c1cb722f340a2b8300c30d7cdd /SlackBuild/doinst.sh
parentb2517c9270382794b3ec5be73201590b4127d553 (diff)
downloadhyprsunset-qt-0.1.0.tar.gz
hyprsunset-qt-0.1.0.zip
packaging: add SlackBuild, .desktop launcher and iconv0.1.0
Adds a SBo-style SlackBuild (noarch, pyproject wheel install) plus the desktop entry and scalable icon it installs to hicolor. .info DOWNLOAD/MD5 are placeholders pending a tagged release. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'SlackBuild/doinst.sh')
-rw-r--r--SlackBuild/doinst.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/SlackBuild/doinst.sh b/SlackBuild/doinst.sh
new file mode 100644
index 0000000..65c7e2e
--- /dev/null
+++ b/SlackBuild/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi