summaryrefslogtreecommitdiff
path: root/development/nim/nim.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2020-04-04 10:51:34 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-11 09:29:58 +0700
commit30787b6352a16f2f9d555e7bda6b7030a25d1471 (patch)
treea707807404d264c0a54f90d3437d4e7902487677 /development/nim/nim.SlackBuild
parent3ec297b7fe238b8e13969cc3354cd20ebebbdcb1 (diff)
downloadslackbuilds-30787b6352a16f2f9d555e7bda6b7030a25d1471.tar.gz
development/nim: Updated for version 1.2.0.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/nim/nim.SlackBuild')
-rw-r--r--development/nim/nim.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/development/nim/nim.SlackBuild b/development/nim/nim.SlackBuild
index bcd2076189..6add559102 100644
--- a/development/nim/nim.SlackBuild
+++ b/development/nim/nim.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nim
-VERSION=${VERSION:-1.0.6}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -92,7 +92,9 @@ mkdir -p $PKG/usr/include
mv $PKG/usr/lib/nim/*.h $PKG/usr/include/
mkdir -p $PKG/etc/nim
-mv pkg/nim/config/* $PKG/etc/nim/
+mv pkg/nim/config/nim.cfg $PKG/etc/nim/nim.cfg.new
+mv pkg/nim/config/nimdoc.cfg $PKG/etc/nim/nimdoc.cfg.new
+mv pkg/nim/config/nimdoc.tex.cfg $PKG/etc/nim/nimdoc.tex.cfg.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \
grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -105,6 +107,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}