aboutsummaryrefslogtreecommitdiff
path: root/system/lxrandr/lxrandr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/lxrandr/lxrandr.SlackBuild')
-rw-r--r--system/lxrandr/lxrandr.SlackBuild22
1 files changed, 11 insertions, 11 deletions
diff --git a/system/lxrandr/lxrandr.SlackBuild b/system/lxrandr/lxrandr.SlackBuild
index bc67a0f2fbb2..330ac5a89da5 100644
--- a/system/lxrandr/lxrandr.SlackBuild
+++ b/system/lxrandr/lxrandr.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# $Id: lxrandr.SlackBuild,v 1.2 2009/09/11 10:27:05 root Exp root $
# Copyright (c) 2008-2009 Eric Hameleers, Eindhoven, NL
-# Copyright 2010-2016 Matteo Bernardini <ponce@slackbuilds.org, Pisa, Italy
+# Copyright 2010-2019 Matteo Bernardini <ponce@slackbuilds.org, Pisa, Italy
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -29,7 +29,6 @@
# For: lxrandr
# Descr: LXDE monitor config tool
# URL: http://lxde.sourceforge.net/
-# Needs:
# Changelog:
# 0.1-1: 23/jun/2008 by Eric Hameleers <alien@slackware.com>
# * Initial build.
@@ -46,7 +45,8 @@
# * update.
# 0.3.1-1 10/jul/2016 by Matteo Bernardini <ponce@slackbuilds.org>
# * update.
-#
+# 0.3.2-1 11/mar/2019 by Matteo Bernardini <ponce@slackbuilds.org>
+# * update.
#
# Run 'sh lxrandr.SlackBuild' to build a Slackware package.
# The package is created in /tmp .
@@ -55,13 +55,13 @@
# -----------------------------------------------------------------------------
PRGNAM=lxrandr
-VERSION=${VERSION:-0.3.1}
+VERSION=${VERSION:-0.3.2}
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
@@ -72,8 +72,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"
@@ -98,10 +98,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sh autogen.sh || true