aboutsummaryrefslogtreecommitdiff
path: root/desktop/arandr/arandr.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-06-11 09:14:16 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-17 00:33:30 +0700
commit2deab24fc8b6d8d644ba429c600b419f86431f28 (patch)
tree498d8fc0d432f77bd3a52c7cf2ce4a84b380c302 /desktop/arandr/arandr.SlackBuild
parent3def65e5b208f9640abed16dea2f8df5afacdf93 (diff)
desktop/arandr: Updated for version 0.1.10, switch to python3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/arandr/arandr.SlackBuild')
-rw-r--r--desktop/arandr/arandr.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/desktop/arandr/arandr.SlackBuild b/desktop/arandr/arandr.SlackBuild
index 38efc35c78bb..12e987050fe7 100644
--- a/desktop/arandr/arandr.SlackBuild
+++ b/desktop/arandr/arandr.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=arandr
-VERSION=${VERSION:-0.1.9}
+VERSION=${VERSION:-0.1.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,7 +69,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true