summaryrefslogtreecommitdiff
path: root/source/ap/soma/soma.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/soma/soma.SlackBuild')
-rwxr-xr-xsource/ap/soma/soma.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/source/ap/soma/soma.SlackBuild b/source/ap/soma/soma.SlackBuild
index c7cc38ae..7f837d5d 100755
--- a/source/ap/soma/soma.SlackBuild
+++ b/source/ap/soma/soma.SlackBuild
@@ -23,15 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PKGNAM=soma
-VERSION=${VERSION:-2.8.5}
+VERSION=${VERSION:-2.10.4}
ARCH=noarch
BUILD=${BUILD:-1}
-TAG=${TAG:-}
CWD=$(pwd)
TMP=${TMP:-/tmp}
PKG=$TMP/package-$PKGNAM
-OUTPUT=${OUTPUT:-/tmp}
set -e
@@ -51,17 +49,17 @@ find . \
mkdir -p $PKG/usr/bin $PKG/etc/soma $PKG/install $PKG/usr/doc/$PKGNAM-$VERSION
install -m 755 soma $PKG/usr/bin/soma
-install --m 644 options.conf $PKG/etc/soma
-install --m 644 stations.conf $PKG/etc/soma
-install --m 644 dialogrc $PKG/etc/soma
+install --m 644 options.conf $PKG/etc/soma/options.conf.new
+install --m 644 stations.conf $PKG/etc/soma/stations.conf.new
+install --m 644 dialogrc $PKG/etc/soma/dialogrc.new
cp -a \
README \
$PKG/usr/doc/$PKGNAM-$VERSION
-#cat $CWD/$PKGNAM.SlackBuild > $PKG/usr/doc/$PKGNAM-$VERSION/$PKGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
+zcat $CWD/doinst.sh.gz > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PKGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-txz}
+/sbin/makepkg -l y -c n $TMP/$PKGNAM-$VERSION-$ARCH-$BUILD.txz