diff options
author | John Tyree <johntyree+sbo@gmail.com> | 2012-06-30 12:12:04 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-30 12:12:04 -0400 |
commit | ab032c6f53ac3aa0ecf1975dd3a2f673174accc5 (patch) | |
tree | 8d689ed6acd38f0c4055fd323b05b3c391082428 /system/laptop-mode-tools/laptop-mode-tools.SlackBuild | |
parent | d53154c60e4cb0184686ab97b109260f263aafed (diff) | |
download | slackbuilds-ab032c6f53ac3aa0ecf1975dd3a2f673174accc5.tar.gz |
system/laptop-mode-tools: Updated for version 1.61.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/laptop-mode-tools/laptop-mode-tools.SlackBuild')
-rw-r--r-- | system/laptop-mode-tools/laptop-mode-tools.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/system/laptop-mode-tools/laptop-mode-tools.SlackBuild b/system/laptop-mode-tools/laptop-mode-tools.SlackBuild index e1a777da66..c7aa843eda 100644 --- a/system/laptop-mode-tools/laptop-mode-tools.SlackBuild +++ b/system/laptop-mode-tools/laptop-mode-tools.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh # Slackware build script for laptop-mode-tools - # Copyright 2010 V'yacheslav Stetskevych <slava18@gmail.com> +# Maintained by John Tyree <johntyree+sbo@gmail.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Maintained by John Tyree <johntyree+sbo@gmail.com> - PRGNAM=laptop-mode-tools -VERSION=${VERSION:-1.60} +VERSION=${VERSION:-1.61} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,20 +69,20 @@ find . \ sed -i 's|etc/udev|lib/udev|' install.sh DESTDIR=$PKG INIT_D=$PKG/etc/rc.d MAN_D=/usr/man ./install.sh +install -d $PKG/var/run/laptop-mode-tools [ "$LIBDIRSUFFIX" = "64" ] && mv $PKG/usr/lib $PKG/usr/lib64 find $PKG/usr/man -type f -exec gzip -9 {} \; -# No need to create /var/run/laptop-mode-tools in the package, as the -# init script creates the directory; in many recent distros, /var/run -# is on a tmpfs, so nothing should ever assume that a subdir exists already mv $PKG/etc/rc.d/laptop-mode $PKG/etc/rc.d/rc.laptop-mode.new find $PKG/etc/laptop-mode -name '*.conf' -exec mv {} {}.new \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + README COPYING \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |