Fixed PKGBUILD hopefully no more conflicting files.

This commit is contained in:
Storm Dragon
2025-12-09 09:44:39 -05:00
parent 53614b13b9
commit 40db7585b9
2 changed files with 23 additions and 2 deletions

View File

@@ -74,8 +74,15 @@ makedepends=(
python-installer python-installer
python-wheel python-wheel
) )
source=("git+https://git.stormux.org/storm/cthulhu.git") install=cthulhu.install
b2sums=('SKIP') source=(
"git+https://git.stormux.org/storm/cthulhu.git"
"cthulhu.install"
)
b2sums=(
'SKIP'
'SKIP'
)
prepare() { prepare() {
cd cthulhu cd cthulhu
@@ -96,6 +103,9 @@ build() {
package() { package() {
cd cthulhu cd cthulhu
meson install -C _build --destdir "$pkgdir" meson install -C _build --destdir "$pkgdir"
# Remove icon cache - it will be generated by post-install hooks
rm -f "$pkgdir/usr/share/icons/hicolor/icon-theme.cache"
} }
# vim:set sw=2 sts=-1 et: # vim:set sw=2 sts=-1 et:

View File

@@ -0,0 +1,11 @@
post_install() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}
post_upgrade() {
post_install
}
post_remove() {
gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}