diff options
author | Dave Woodfall <dave@tty1.uk> | 2018-12-06 17:48:54 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-12-09 13:17:28 +0700 |
commit | 8ee6e8fde849fae7f49e8307bc8562bb4f26a382 (patch) | |
tree | a0c9c0687a2c500d7c795e0a10f919f88f743528 | |
parent | f2dc844c3cac3ba77826ce7f62798cc0fc4f1ff5 (diff) | |
download | slackbuilds-8ee6e8fde849fae7f49e8307bc8562bb4f26a382.tar.gz |
system/ranger: Add optimisation to build command.
This is to stop ranger creating pyc files in /usr/lib
the first time it is run, which causes removepkg to
complain. This way they will be created in the package.
-rw-r--r-- | system/ranger/ranger.SlackBuild | 4 | ||||
-rw-r--r-- | system/ranger/ranger.info | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/system/ranger/ranger.SlackBuild b/system/ranger/ranger.SlackBuild index 2a1b24a288..f7eb3b046d 100644 --- a/system/ranger/ranger.SlackBuild +++ b/system/ranger/ranger.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=ranger VERSION=${VERSION:-1.9.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,7 +70,7 @@ find -L . \ [ "$PYTHON3" = "yes" ] && PY=3 -python$PY setup.py install --root=$PKG +python$PY setup.py install -O1 --root=$PKG mv $PKG/usr/share/man $PKG/usr diff --git a/system/ranger/ranger.info b/system/ranger/ranger.info index 1a43a8c4ab..caa4f8bfb9 100644 --- a/system/ranger/ranger.info +++ b/system/ranger/ranger.info @@ -6,5 +6,5 @@ MD5SUM="4ce283e451a40a61590cf9aa504e926c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Woodfall" -EMAIL="dave@dawoodfall.net" +MAINTAINER="Dave Woodfall" +EMAIL="dave@tty1.uk" |