diff options
author | Jay Lanagan <j@lngn.net> | 2023-02-11 10:05:45 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-02-18 10:06:43 +0700 |
commit | e0d176f5033d2446965ecf574ad3cd6ce6156453 (patch) | |
tree | 3492c06d8eb68ac3362e7a23a81ab827570678f5 | |
parent | defe293b2968035a63f2ab1153c1a5cace269445 (diff) |
desktop/papirus-icon-theme: Add pre-made doinst.sh.gz.
Signed-off-by: bedlam <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | desktop/papirus-icon-theme/doinst.sh | 8 | ||||
-rw-r--r-- | desktop/papirus-icon-theme/doinst.sh.gz | bin | 0 -> 802145 bytes | |||
-rw-r--r-- | desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild | 14 |
3 files changed, 10 insertions, 12 deletions
diff --git a/desktop/papirus-icon-theme/doinst.sh b/desktop/papirus-icon-theme/doinst.sh deleted file mode 100644 index fe41c427bf2c..000000000000 --- a/desktop/papirus-icon-theme/doinst.sh +++ /dev/null @@ -1,8 +0,0 @@ -for theme in @THEMES@; do - if [ -e usr/share/icons/$theme/icon-theme.cache ]; then - if [ -x /usr/bin/gtk-update-icon-cache ]; then - /usr/bin/gtk-update-icon-cache -f usr/share/icons/$theme >/dev/null 2>&1 - fi - fi -done - diff --git a/desktop/papirus-icon-theme/doinst.sh.gz b/desktop/papirus-icon-theme/doinst.sh.gz Binary files differnew file mode 100644 index 000000000000..e4e6c0e46ed9 --- /dev/null +++ b/desktop/papirus-icon-theme/doinst.sh.gz diff --git a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild index c227613f0201..e2c73e779c29 100644 --- a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild +++ b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild @@ -74,15 +74,21 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc -sed -e "s/@THEMES@/$THEMES/" $CWD/doinst.sh > $PKG/install/doinst.sh +#sed -e "s/@THEMES@/$THEMES/" $CWD/doinst.sh > $PKG/install/doinst.sh +# Premade and gzipped doinst.sh +zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh cd $PKG +# To create a new doinst.sh, comment the next line, uncomment the lines below +# it and @THEMES@ above, grab the new one from the package and gzip it. +find . -type l -delete + # 20200407 bkw: makepkg's symlink search and doinst.sh creation doesn't # scale well. This makes the build complete much faster, and create an # identical doinst.sh. -find . -type l \ - -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ - sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh +#find . -type l \ +# -printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \ +# sed 's,cd \./,cd ,' >> $PKG/install/doinst.sh /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |