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.
This commit is contained in:
Dave Woodfall 2018-12-06 17:48:54 +00:00 committed by Willy Sudiarto Raharjo
parent f2dc844c3c
commit 8ee6e8fde8
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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"