From 8ee6e8fde849fae7f49e8307bc8562bb4f26a382 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Thu, 6 Dec 2018 17:48:54 +0000 Subject: 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. --- system/ranger/ranger.SlackBuild | 4 ++-- system/ranger/ranger.info | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'system/ranger') 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" -- cgit v1.2.3