diff options
author | Julian Grinblat <julian@dotcore.co.il> | 2020-11-21 00:41:49 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-11-21 00:41:49 +0700 |
commit | 5c9deb9e7bc4e61c17bdc683a7ccefbb990eef43 (patch) | |
tree | 9df074b5abd8615d8a0d8d1ce2c3100bed11dd12 /desktop | |
parent | 486a639748a054a34d9ef3c7617a6b6008e3465c (diff) |
desktop/autorandr: Updated for version 1.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/autorandr/README | 10 | ||||
-rw-r--r-- | desktop/autorandr/autorandr.SlackBuild | 6 | ||||
-rw-r--r-- | desktop/autorandr/autorandr.info | 6 |
3 files changed, 17 insertions, 5 deletions
diff --git a/desktop/autorandr/README b/desktop/autorandr/README index 8a7fa388e3a2..6506aed84645 100644 --- a/desktop/autorandr/README +++ b/desktop/autorandr/README @@ -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. diff --git a/desktop/autorandr/autorandr.SlackBuild b/desktop/autorandr/autorandr.SlackBuild index dcf805588595..ff53d4584cd8 100644 --- a/desktop/autorandr/autorandr.SlackBuild +++ b/desktop/autorandr/autorandr.SlackBuild @@ -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 diff --git a/desktop/autorandr/autorandr.info b/desktop/autorandr/autorandr.info index 3fa6721f1732..e15315819eee 100644 --- a/desktop/autorandr/autorandr.info +++ b/desktop/autorandr/autorandr.info @@ -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="" |