diff options
Diffstat (limited to 'system/TLP/TLP.SlackBuild')
-rw-r--r-- | system/TLP/TLP.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/system/TLP/TLP.SlackBuild b/system/TLP/TLP.SlackBuild index a98b3782a4..9bdc912796 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} |