Browse Source

xap/jmol: Upgraded to jmol-14.6.1.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
ed92bb7a5f
  1. 1
      xap/jmol/Jmol-14.0.2-binary.zip.sha1
  2. 1
      xap/jmol/Jmol-14.6.1_2016.07.11-binary.zip.sha1
  3. 11
      xap/jmol/jmol.SlackBuild

1
xap/jmol/Jmol-14.0.2-binary.zip.sha1

@ -1 +0,0 @@
761985bb2a70a9f6695540827b03bea50b4810ca Jmol-14.0.2-binary.zip

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

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

11
xap/jmol/jmol.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2013 Damien Goutte-Gattat
# Copyright (C) 2010,2013,2016 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.0.2}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION-binary.zip}
VERSION=${VERSION:-14.6.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-${VERSION}_2016.07.11-binary.zip}
WGET=${WGET:-http://downloads.sourceforge.net/jmol/$ARCHIVE}
# Build infos
@ -60,12 +60,13 @@ if [ ! -r $ARCHIVE ]; then
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$NAMEPKG-${VERSION}_2016.07.11
# Install
cd $TMP
echo "Building $ARCHIVE..."
unzip $CWD/$ARCHIVE
cd $NAMEPKG-$VERSION
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 \
@ -85,7 +86,7 @@ PACKAGING="
chown root:root . -R
/sbin/makepkg -l y -c n $OUT/$NAMEPKG-$VERSION-$ARCH-$BUILD.$EXT
rm -rf $PKG
rm -rf $TMP/$NAMEPKG-$VERSION
rm -rf $TMP/$NAME
"
if type -p fakeroot ; then
echo "$PACKAGING" | fakeroot

Loading…
Cancel
Save