diff options
author | B. Watson <yalhcru@gmail.com> | 2012-04-20 09:00:36 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-04-20 09:00:36 -0400 |
commit | b922da9eb4a43147cb2e4b786bfd60f1aee542fc (patch) | |
tree | 5f3cab741c926e2b67cad67a8e7e0f780fd97c87 /accessibility/xdotool/xdotool.SlackBuild | |
parent | 74782202ea3b80caf295d85298a22be615137c58 (diff) | |
download | slackbuilds-b922da9eb4a43147cb2e4b786bfd60f1aee542fc.tar.gz |
accessibility/xdotool: Updated for version 2.20110530.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'accessibility/xdotool/xdotool.SlackBuild')
-rw-r--r-- | accessibility/xdotool/xdotool.SlackBuild | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/accessibility/xdotool/xdotool.SlackBuild b/accessibility/xdotool/xdotool.SlackBuild index a77b00bbf2..e305d7dd60 100644 --- a/accessibility/xdotool/xdotool.SlackBuild +++ b/accessibility/xdotool/xdotool.SlackBuild @@ -1,20 +1,26 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for xdotool # Written by B. Watson (yalhcru@gmail.com) +# Licensed under the WTFPL. See http://sam.zoy.org/wtfpl/ for details. + +# 20120411 bkw: +# - updated for xdotool 2.20110530.1. +# - install CHANGELIST in doc dir +# - make & install HTML doc instead of raw POD doc +# - fix permissions in examples/ + PRGNAM=xdotool -VERSION=${VERSION:-2.20101012.3049} +VERSION=${VERSION:-2.20110530.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -49,18 +55,21 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R a-s,u+w,go+r-w . -make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX - mkdir -p $PKG/usr/bin $PKG/usr/man/man1 + +make WARNFLAGS="$SLKCFLAGS" PREFIX=/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX make install PREFIX=$PKG/usr INSTALLLIB=$PKG/usr/lib$LIBDIRSUFFIX +make $PRGNAM.html -strip --strip-unneeded $PKG/usr/bin/$PRGNAM 2>/dev/null || true +strip --strip-unneeded $PKG/usr/bin/$PRGNAM gzip -9 $PKG/usr/man/man1/$PRGNAM.1 +chmod 755 examples/*.sh + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - README COPYRIGHT examples xdotool.pod \ - $PKG/usr/doc/$PRGNAM-$VERSION + CHANGELIST README COPYRIGHT examples $PRGNAM.html \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |