Created
February 10, 2020 08:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: b00rt00s <b00rt00s.aur@gmail.com> | |
pkgname=vesta | |
pkgver=3.4.8 | |
pkgrel=1 | |
pkgdesc="3D visualization program for structural models, volumetric data such as electron/nuclear densities, and crystal morphologies." | |
url="http://jp-minerals.org/vesta" | |
license=('custom') | |
arch=('x86_64') | |
depends=('gtk3' 'gtk2' 'glu' 'desktop-file-utils' 'libxtst' 'java-environment') | |
_url="https://jp-minerals.org/vesta/archives" | |
source_x86_64=("${_url}/${pkgver}/VESTA-gtk3.tar.bz2") | |
source=('VESTA.desktop' 'vesta.install') | |
md5sums=('fdd7040720e4b58a26caa7db09669acf' | |
'caabe467168af9e44cf380af1abfe280') | |
md5sums_x86_64=('d067ce86017e9317c252be60a102cf10') | |
sha256sums=('4eae00cd081d7b628858a03593a265c6f7698461bd265b873198d5c347c151e4' | |
'35d44e99185caa17fbf69938bcccc252fde70fb7bc2d407ef376ba512db08b43') | |
sha256sums_x86_64=('30e24706340d71a7dda8747752e204f1deb05b70d572bf23edeeefd2c1f44e07') | |
install="vesta.install" | |
package() { | |
#prepare dirs | |
mkdir -p ${pkgdir}/opt | |
mkdir -p ${pkgdir}/usr/bin | |
mkdir -p ${pkgdir}/usr/share/licenses/vesta | |
mkdir -p ${pkgdir}/usr/share/applications/ | |
cp -a ${srcdir}/VESTA-gtk3 ${pkgdir}/opt/VESTA | |
chmod 755 ${pkgdir}/opt/VESTA | |
#install desktop file | |
install -m 644 ${srcdir}/VESTA.desktop ${pkgdir}/usr/share/applications/ | |
#link licence | |
( cd ${pkgdir}/usr/share/licenses/vesta | |
ln -sf /opt/VESTA/Library_License vesta | |
) | |
#link executable | |
( | |
cd ${pkgdir}/usr/bin | |
ln -sf /opt/VESTA/VESTA VESTA | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment