Browse Source

xap/jmol: Upgraded to jmol-14.30.1.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
46f1428921
  1. 1
      xap/jmol/Jmol-14.30.1-binary.zip.sha256
  2. 1
      xap/jmol/Jmol-14.6.1_2016.07.11-binary.zip.sha1
  3. 17
      xap/jmol/jmol.SlackBuild

1
xap/jmol/Jmol-14.30.1-binary.zip.sha256

@ -0,0 +1 @@
ebd7edda119a8a969025a31c4957fb5cb15e9458a41c2f9c08c75af1e20cb96d Jmol-14.30.1-binary.zip

1
xap/jmol/Jmol-14.6.1_2016.07.11-binary.zip.sha1

@ -1 +0,0 @@
377d82d06cd543cef0a5698f6ad471835fcd4597 Jmol-14.6.1_2016.07.11-binary.zip

17
xap/jmol/jmol.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2013,2016 Damien Goutte-Gattat
# Copyright (C) 2010,2013,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,8 +26,8 @@
# Source package infos
NAMESRC=${NAMESRC:-Jmol}
VERSION=${VERSION:-14.6.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-${VERSION}_2016.07.11-binary.zip}
VERSION=${VERSION:-14.30.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-${VERSION}-binary.zip}
WGET=${WGET:-http://downloads.sourceforge.net/jmol/$ARCHIVE}
# Build infos
@ -59,8 +59,8 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$NAMEPKG-${VERSION}_2016.07.11
sha256sum -c $ARCHIVE.sha256
NAME=$NAMEPKG-${VERSION}
# Install
cd $TMP
@ -70,12 +70,17 @@ cd $NAME
mkdir -p $PKG/usr/bin $PKG/usr/lib/jmol $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 *.jar $PKG/usr/lib/jmol/
install -m 644 CHANGES.txt COPYRIGHT.txt LICENSE.txt README.txt \
$PKG/usr/doc/$NAMEPKG-$VERSION
TODO.txt $PKG/usr/doc/$NAMEPKG-$VERSION
# Install launch scripts
install -m 755 $CWD/jmol.sh $PKG/usr/bin/jmol
install -m 755 $CWD/jmol-data.sh $PKG/usr/bin/jmol-data
# Install files for the web applet
mkdir -p $PKG/usr/share/jmol
cp -r applet $PKG/usr/share/jmol/applet
unzip -d $PKG/usr/share/jmol jsmol.zip
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save