summaryrefslogtreecommitdiffstats
path: root/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild
diff options
context:
space:
mode:
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
commite0d176f5033d2446965ecf574ad3cd6ce6156453 (patch)
tree3492c06d8eb68ac3362e7a23a81ab827570678f5 /desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild
parentdefe293b2968035a63f2ab1153c1a5cace269445 (diff)
downloadslackbuilds-e0d176f5033d2446965ecf574ad3cd6ce6156453.tar.gz
slackbuilds-e0d176f5033d2446965ecf574ad3cd6ce6156453.tar.xz
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>
Diffstat (limited to 'desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild')
-rw-r--r--desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild b/desktop/papirus-icon-theme/papirus-icon-theme.SlackBuild
index c227613f02..e2c73e779c 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