aboutsummaryrefslogtreecommitdiff
path: root/system/TLP/TLP.SlackBuild
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2014-04-25 08:00:09 +0700
committerErik Hanson <erik@slackbuilds.org>2014-04-27 12:18:16 -0500
commit1dd344df330172d72239982ae9c37f35188e3586 (patch)
tree622eaca6dbf33fedfbc5f23443857bdae0afca65 /system/TLP/TLP.SlackBuild
parent439167b13392d202238e25c87cd0ea9e31ca4feb (diff)
system/TLP: Updated for version 0.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/TLP/TLP.SlackBuild')
-rw-r--r--system/TLP/TLP.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/TLP/TLP.SlackBuild b/system/TLP/TLP.SlackBuild
index a98b3782a4542..9bdc912796989 100644
--- a/system/TLP/TLP.SlackBuild
+++ b/system/TLP/TLP.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for TLP
-# Copyright 2013 Aaditya Bagga <aaditya_gnulinux@zoho.com>
+# Copyright 2013-2014 Aaditya Bagga <aaditya_gnulinux@zoho.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=TLP
-VERSION=${VERSION:-0.4.1}
+VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -84,6 +84,9 @@ make install-tlp DESTDIR=$PKG
# move to rc.tlp
mv $PKG/etc/rc.d/tlp $PKG/etc/rc.d/rc.tlp
+# Don't clobber configs
+mv $PKG/etc/default/tlp $PKG/etc/default/tlp.new
+
# install man files
mkdir -p $PKG/usr/man/man{1,8}
install -m 644 man/bluetooth.1 $PKG/usr/man/man1/
@@ -106,6 +109,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}