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>
This commit is contained in:
Matteo Bernardini 2021-06-11 09:14:16 +02:00 committed by Willy Sudiarto Raharjo
parent 3def65e5b2
commit 2deab24fc8
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 8 additions and 8 deletions

View File

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

View File

@ -1,8 +1,8 @@
PRGNAM="arandr"
VERSION="0.1.9"
VERSION="0.1.10"
HOMEPAGE="http://christian.amsuess.com/tools/arandr/"
DOWNLOAD="http://christian.amsuess.com/tools/arandr/files/arandr-0.1.9.tar.gz"
MD5SUM="d53faecdc02292b648f554658d9bd99e"
DOWNLOAD="http://christian.amsuess.com/tools/arandr/files/arandr-0.1.10.tar.gz"
MD5SUM="cefcc70f4b81f4974e66359980b76e83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""