summaryrefslogtreecommitdiff
path: root/academic/ngspice/ngspice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/ngspice/ngspice.SlackBuild')
-rw-r--r--academic/ngspice/ngspice.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/academic/ngspice/ngspice.SlackBuild b/academic/ngspice/ngspice.SlackBuild
index 80db525824..f67f536418 100644
--- a/academic/ngspice/ngspice.SlackBuild
+++ b/academic/ngspice/ngspice.SlackBuild
@@ -7,7 +7,7 @@
# Set initial variables:
PRGNAM=ngspice
-VERSION=${VERSION:-29}
+VERSION=${VERSION:-30}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -45,8 +45,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-rm -rf $PRGNAM-doc-$VERSION
-tar xvf $CWD/$PRGNAM-doc-$VERSION.tar.gz
+#rm -rf $PRGNAM-doc-$VERSION
+#tar xvf $CWD/$PRGNAM-doc-$VERSION.tar.gz
(cd $PRGNAM-doc-$VERSION
chown -R root:root .
find -L . \
@@ -99,9 +99,9 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/examples
cp -a ANALYSES AUTHORS BUGS COPYING ChangeLog DEVICES FAQ \
- INSTALL NEWS README* ../$PRGNAM-doc-$VERSION/*.pdf examples/ \
- xgraph/examples/ $PKG/usr/doc/$PRGNAM-$VERSION/
+ INSTALL NEWS README* examples/ $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+cat $CWD/$PRGNAM-$VERSION-manual.pdf > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-$VERSION-manual.pdf
mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps
install -m644 $CWD/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png