aboutsummaryrefslogtreecommitdiff
path: root/system/wmconfig/wmconfig.SlackBuild
diff options
context:
space:
mode:
authorTracy Williams <t_s_williams[at]yahoo[dot]com>2015-12-03 00:14:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-03 00:14:07 +0700
commit249134a9e99082fa2d049b7739c1f69633ba8b65 (patch)
tree617ec1bd8753775adef031fe369438ea36fc38db /system/wmconfig/wmconfig.SlackBuild
parent243088fc34e4174a225fad26a3378be7853b2c17 (diff)
system/wmconfig: Updated for version 1.4.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/wmconfig/wmconfig.SlackBuild')
-rw-r--r--system/wmconfig/wmconfig.SlackBuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/system/wmconfig/wmconfig.SlackBuild b/system/wmconfig/wmconfig.SlackBuild
index 45004022e524e..c7fb383a683f6 100644
--- a/system/wmconfig/wmconfig.SlackBuild
+++ b/system/wmconfig/wmconfig.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wmconfig
-VERSION=${VERSION:-1.4.10}
+VERSION=${VERSION:-1.4.11}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,6 +82,16 @@ make install-strip DESTDIR=$PKG
find $PKG/usr/man -type f -exec gzip -9 {} \;
+# Don't clobber the config files
+CONFIG="Network Graphics Games Utilities Graphics_Viewers Edutainment \
+ Astronomy Funcs Office System Development Multimedia Shells Desktop \
+ Applications Office_Viewers Editors"
+
+for conf in $CONFIG
+do
+ mv $PKG/etc/wmconfig/${conf} $PKG/etc/wmconfig/${conf}.new
+done
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS ChangeLog COPYING INSTALL README TODO misc \
@@ -90,6 +100,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}