mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-26 22:06:35 +01:00
desktop/numix-icon-theme: Fix VERSION, 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
7f2ed4a342
commit
0997ccc167
1 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
||||||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
# 20200406 bkw: modified by SlackBuilds.org
|
||||||
|
|
||||||
PRGNAM="numix-icon-theme"
|
PRGNAM="numix-icon-theme"
|
||||||
VERSION=${VERSION:-20200320}
|
VERSION=${VERSION:-20200320}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
|
@ -58,6 +60,11 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
|
# 20200406 bkw: create doinst.sh. Normally makepkg does this, but it's
|
||||||
|
# *painfully* slow and we have over 17,000 symlinks to process. It takes
|
||||||
|
# 15 minutes for makepkg to run on my test system. The find command
|
||||||
|
# below runs in 1.5 seconds and creates an identical doinst.sh. This is
|
||||||
|
# a 1000x speedup.
|
||||||
cd $PKG
|
cd $PKG
|
||||||
find . -type l \
|
find . -type l \
|
||||||
-printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \
|
-printf '( cd %h ; rm -rf %f )\n( cd %h ; ln -sf %l %f )\n' -delete | \
|
||||||
|
|
Loading…
Reference in a new issue