mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/autorandr: Updated for version 1.13.2.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
11180bb3d7
commit
406441c83c
2 changed files with 12 additions and 8 deletions
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=autorandr
|
||||
VERSION=${VERSION:-1.12.1}
|
||||
VERSION=${VERSION:-1.13.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -50,6 +50,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
# Some of the TARGETS can generate binaries (for example, launcher generates autorandr-launcher)
|
||||
# This is not always noarch
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
|
@ -79,10 +81,12 @@ 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 {} \;
|
||||
|
||||
[ -n "$TARGETS" ] && TARGETS="TARGETS=$TARGETS"
|
||||
|
||||
make CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS"
|
||||
make install $TARGETS PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$PKG
|
||||
if [[ -n "$TARGETS" ]]; then
|
||||
make install CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" "TARGETS=$TARGETS" PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$PKG
|
||||
else
|
||||
make install CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$PKG
|
||||
fi
|
||||
|
||||
|
||||
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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="autorandr"
|
||||
VERSION="1.12.1"
|
||||
VERSION="1.13.2"
|
||||
HOMEPAGE="https://github.com/phillipberndt/autorandr"
|
||||
DOWNLOAD="https://github.com/phillipberndt/autorandr/archive/1.12.1/autorandr-1.12.1.tar.gz"
|
||||
MD5SUM="33cec67ce6062e9cebf5018db20a1cba"
|
||||
DOWNLOAD="https://github.com/phillipberndt/autorandr/archive/1.13.2/autorandr-1.13.2.tar.gz"
|
||||
MD5SUM="ebcc16d662c51b04b5ae30ecd0083402"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue