You are not logged in.
I treid to install Marvin Suite from ChemAxon, but it won't intall proberly.
(1/1) Installiere marvin [##########################################################################################] 100%
/tmp/alpm_nIEq4w/.INSTALL: Zeile 81: Dateiende beim Suchen nach `"' erreicht.
/tmp/alpm_nIEq4w/.INSTALL: Zeile 91: Syntax Fehler: Unerwartetes Dateiende.
/usr/bin/bash: post_install: Kommando nicht gefunden.
Fehler: Befehl konnte nicht korrekt ausgeführt werden
The .INSTALL script looks like this
post_install() {
I4J_INSTALL_LOCATION="/opt/chemaxon/marvinsuite"
cd "$I4J_INSTALL_LOCATION"
ln -sf "$I4J_INSTALL_LOCATION/MarvinSketch" /usr/bin/
[Desktop Entry]
Type=Application
Name=MarvinSketch
Exec=/usr/bin/sh \"$I4J_INSTALL_LOCATION/MarvinSketch\"
Icon=$I4J_INSTALL_LOCATION/.install4j/MarvinSketch.png
" >> "$I4J_INSTALL_LOCATION/MarvinSketch.desktop"
chmod +x "$I4J_INSTALL_LOCATION/MarvinSketch.desktop"
ln -sf "$I4J_INSTALL_LOCATION/MarvinView" /usr/bin/
[Desktop Entry]
Type=Application
Name=MarvinView
Exec=/usr/bin/sh \"$I4J_INSTALL_LOCATION/MarvinView\"
Icon=$I4J_INSTALL_LOCATION/.install4j/MarvinView.png
" >> "$I4J_INSTALL_LOCATION/MarvinView.desktop"
chmod +x "$I4J_INSTALL_LOCATION/MarvinView.desktop"
ln -sf "$I4J_INSTALL_LOCATION/bin/molconvert" /usr/bin/
ln -sf "$I4J_INSTALL_LOCATION/bin/cxcalc" /usr/bin/
ln -sf "$I4J_INSTALL_LOCATION/bin/cxtrain" /usr/bin/
ln -sf "$I4J_INSTALL_LOCATION/bin/mview" /usr/bin/
ln -sf "$I4J_INSTALL_LOCATION/bin/msketch" /usr/bin/
ln -sf "$I4J_INSTALL_LOCATION/LicenseManager" /usr/bin/
[Desktop Entry]
Type=Application
Name=LicenseManager
Exec=/usr/bin/sh \"$I4J_INSTALL_LOCATION/LicenseManager\"
Icon=$I4J_INSTALL_LOCATION/.install4j/LicenseManager.png
" >> "$I4J_INSTALL_LOCATION/LicenseManager.desktop"
chmod +x "$I4J_INSTALL_LOCATION/LicenseManager.desktop"
ln -sf "$I4J_INSTALL_LOCATION/bin/evaluate" /usr/bin/
if [ -d "$I4J_INSTALL_LOCATION/jre/lib" ]; then
old_pwd200=`pwd`
cd "$I4J_INSTALL_LOCATION/jre"
for pack_file in lib/*.jar.pack
do
if [ -f "$pack_file" ]; then
jar_file=`echo "$pack_file" | awk '{ print substr($0,1,length-5) }'`
bin/unpack200 -r "$pack_file" "$jar_file"
fi
done
for pack_file in lib/ext/*.jar.pack
do
if [ -f "$pack_file" ]; then
jar_file=`echo "$pack_file" | awk '{ print substr($0,1,length-5) }'`
bin/unpack200 -r "$pack_file" "$jar_file"
fi
done
bin/java -Xshare:dump >/dev/null 2>&1
cd "$old_pwd200"
fi
cp /opt/chemaxon/marvinsuite/*.desktop /usr/share/applications/
ln -s /opt/chemaxon/marvinsuite/bin/msketch /usr/bin/msketch
ln -s /opt/chemaxon/marvinsuite/bin/mview /usr/bin/mview
ln -s /opt/chemaxon/marvinsuite/bin/molconvert /usr/bin/molconvert
}
post_upgrade() {
post_install
}
pre_remove() {
I4J_INSTALL_LOCATION="/opt/chemaxon/marvinsuite"
cd "$I4J_INSTALL_LOCATION"
rm "/usr/bin/MarvinSketch" 2>/dev/null
rm "$I4J_INSTALL_LOCATION/MarvinSketch.desktop"
rm "/usr/bin/MarvinView" 2>/dev/null
rm "$I4J_INSTALL_LOCATION/MarvinView.desktop"
rm "/usr/bin/molconvert" 2>/dev/null
rm "/usr/bin/cxcalc" 2>/dev/null
rm "/usr/bin/cxtrain" 2>/dev/null
rm "/usr/bin/mview" 2>/dev/null
rm "/usr/bin/msketch" 2>/dev/null
rm "/usr/bin/LicenseManager" 2>/dev/null
rm "$I4J_INSTALL_LOCATION/LicenseManager.desktop"
rm "/usr/bin/evaluate" 2>/dev/null
rm -Rf "$I4J_INSTALL_LOCATION/jre/lib"
}
post_remove() {
mkdir -p /opt
rm -rf /usr/share/applications/Marvin*.desktop
rm -rf /usr/bin/msketch
rm -rf /usr/bin/mview
rm -rf /usr/bin/molconvert
}
What's strange, is that lin 91 is empty. So I don't know whether this has something to do with the "unexpected ending".
Thanks for your input
Offline
Update 3.2.2
Changelog
* Deb packages using control.tar.xz for storing metadata now treated correctly
* Added version option
* Minor changes
Last edited by helix (2018-04-23 17:59:08)
Offline
Update 3.3
Changelog
* Switched compression method from .xz to .zst
* Fixed interpretation of special characters \n and \t during .INSTALL creation
* Improved handling of usr/local in some packages
* Minor bug and typo fixes
* Options have become more simple, making more sense
Offline
Update 3.4
Changelog
* Fixed "PKGBUILD Cannot Be Created if .deb package doesn't contain any usr/bin files" bug
* Fixed bug affecting deb packages containg control witlh lowercase sections ("package", "version" etc.)
* Fixed base-packages file creation
* Added more ready translated packages names
Offline
how do I put on aur? all i get is a .tar.zst file.
Offline
You DON'T put it in AUR. If you want to upload something suitable for AUR, generate a PKGBUILD file, then modify it and when it’s done upload it in AUR.
Offline
Update 3.5.1
Changelog
* Added support for zst compressed deb packages
* Various bug fixes
Last edited by helix (2022-04-25 07:53:16)
Offline
Offline