mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
desktop/faba-mono-icons: Speed up build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6194f6bb20
commit
5dfb6b4804
1 changed files with 7 additions and 0 deletions
|
@ -65,4 +65,11 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
|
|||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||
|
||||
cd $PKG
|
||||
# 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
|
||||
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
Loading…
Reference in a new issue