mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
desktop/autorandr: Updated for version 1.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
486a639748
commit
5c9deb9e7b
3 changed files with 17 additions and 5 deletions
|
@ -2,3 +2,13 @@ autorandr is a Python program that provides command-line utilities
|
|||
to manage display configuration. In addition, it has built in udev
|
||||
configuration files to detect monitor changes, bash-completion, xdg
|
||||
autostart scripts and pm-utils helpers.
|
||||
|
||||
You can optionally specify a TARGETS option to select which
|
||||
components to build and install. The manpage is always necessary.
|
||||
|
||||
For example:
|
||||
|
||||
TARGETS="manpage autorandr launcher udev pmutils"
|
||||
|
||||
The available options are manpage, autorandr, launcher, udev,
|
||||
pmutils, autostart_config, bash_completion.
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=autorandr
|
||||
VERSION=${VERSION:-1.10.1}
|
||||
VERSION=${VERSION:-1.11}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,8 +69,10 @@ 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 PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$PKG
|
||||
make install $TARGETS PREFIX=/usr MANDIR=/usr/man/man1 DESTDIR=$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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="autorandr"
|
||||
VERSION="1.10.1"
|
||||
VERSION="1.11"
|
||||
HOMEPAGE="https://github.com/phillipberndt/autorandr"
|
||||
DOWNLOAD="https://github.com/phillipberndt/autorandr/archive/1.10.1/autorandr-1.10.1.tar.gz"
|
||||
MD5SUM="7155aae15fd6b2cddaff43b6103a4412"
|
||||
DOWNLOAD="https://github.com/phillipberndt/autorandr/archive/1.11/autorandr-1.11.tar.gz"
|
||||
MD5SUM="39308bf22013fb576336e4c98487fef2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue