diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-06-11 09:14:16 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-06-17 00:33:30 +0700 |
commit | 2deab24fc8b6d8d644ba429c600b419f86431f28 (patch) | |
tree | 498d8fc0d432f77bd3a52c7cf2ce4a84b380c302 | |
parent | 3def65e5b208f9640abed16dea2f8df5afacdf93 (diff) | |
download | slackbuilds-2deab24fc8b6d8d644ba429c600b419f86431f28.tar.gz |
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>
-rw-r--r-- | desktop/arandr/arandr.SlackBuild | 10 | ||||
-rw-r--r-- | desktop/arandr/arandr.info | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/desktop/arandr/arandr.SlackBuild b/desktop/arandr/arandr.SlackBuild index 38efc35c78..12e987050f 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 diff --git a/desktop/arandr/arandr.info b/desktop/arandr/arandr.info index 886d009f3b..9108ec0a64 100644 --- a/desktop/arandr/arandr.info +++ b/desktop/arandr/arandr.info @@ -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="" |