summaryrefslogtreecommitdiff
path: root/source/a/dialog/dialog.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/dialog/dialog.SlackBuild')
-rwxr-xr-xsource/a/dialog/dialog.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/a/dialog/dialog.SlackBuild b/source/a/dialog/dialog.SlackBuild
index ba3a8722..15080908 100755
--- a/source/a/dialog/dialog.SlackBuild
+++ b/source/a/dialog/dialog.SlackBuild
@@ -42,7 +42,7 @@ PKGNAM=dialog
# We'll determine $VERSION automatically again (for now):
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -130,6 +130,9 @@ cat samples/slackware.rc > $PKG/etc/dialogrc
rm -f $PKG/usr/lib${LIBDIRSUFFIX}/libdialog.a
rmdir $PKG/usr/lib${LIBDIRSUFFIX} 2> /dev/null
+# Ship the config file as .new:
+mv $PKG/etc/dialogrc $PKG/etc/dialogrc.new
+
mkdir -p $PKG/bin
mv $PKG/usr/bin/dialog $PKG/bin
( cd $PKG/usr/bin
@@ -170,8 +173,8 @@ if [ -r CHANGES ]; then
fi
mkdir -p $PKG/install
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $TMP/package-${PKGNAM}
/sbin/makepkg -l y -c n $TMP/${PKGNAM}-$(echo $VERSION | tr - _)-$ARCH-$BUILD.txz
-