Package Details: vaspkit-bin 1.5.1-1

Git Clone URL: https://aur.archlinux.org/vaspkit-bin.git (read-only, click to copy)
Package Base: vaspkit-bin
Description: VASPKIT is a postprocessing tool for VASP code.(Warning! May overwrite your .vaspkit and utilities dir!)
Upstream URL: https://sourceforge.net/projects/vaspkit/files/
Submitter: lstnbl
Maintainer: lstnbl
Last Packager: lstnbl
Votes: 0
Popularity: 0.000000
First Submitted: 2020-09-27 05:44 (UTC)
Last Updated: 2024-02-26 07:04 (UTC)

Latest Comments

lstnbl commented on 2024-02-26 07:10 (UTC)

@Adcock Updated and Thank you for the fixing!

Adcock commented on 2024-02-26 06:35 (UTC)

PKGBUILD needs some fixing, I changed line 20. Please review.

# Maintainer: lstnbl <jialanxin1996@hotmail.com>

pkgname=vaspkit-bin
pkgver=1.4.0
_swname=vaspkit.${pkgver}
pkgrel=1
pkgdesc="VASPKIT is a postprocessing tool for VASP code.(Warning! May overwrite your .vaspkit and utilities dir!)"
arch=('x86_64')
licence=('unknown')
url=https://sourceforge.net/projects/vaspkit/files/
source=('https://downloads.sourceforge.net/vaspkit/vaspkit.1.4.0.linux.x64.tar.gz')
sha1sums=(5f4a917e319e12238c5b662e71c194e52e49653b)

package(){
  install -d "${pkgdir}/usr/bin/${_swname}"
  tar xf "${srcdir}/${_swname}.linux.x64.tar.gz"
  cp -r "${srcdir}/${_swname}/"*  "${pkgdir}/usr/bin/${_swname}" -R
  cd "${pkgdir}/usr/bin/${_swname}"
  if [[ ! -e ~/.vaspkit ]]; then
   cp "${srcdir}/${_swname}/how_to_set_environment_variables" ~/.vaspkit
   echo "| The ~/.vaspkit file for vaspkit code has been added.                   |"
   echo "| Please modify ~/.vaspkit based on your account settings!               |"
  else
   echo "| The ~/.vaspkit file already existed and skipped.                       |"
  fi
  n=`grep -rin "VASPKIT_UTILITIES_PATH" ~/.vaspkit|awk  -F ':'  '{print $1}'`
  VASPKIT_UTILITIES_PATH_VARIABLE="VASPKIT_UTILITIES_PATH    /usr/bin/${_swname}/utilities"
  sed -i ""${n}"c  ${VASPKIT_UTILITIES_PATH_VARIABLE}" ~/.vaspkit
  echo "| The VASPKIT_UTILITIES_PATH variable has been updated.                  |"
  ln -s  /usr/bin/${_swname}/bin/vaspkit ${pkgdir}/usr/bin/vaspkit
}

lstnbl commented on 2021-04-12 07:11 (UTC)

@Kanyu The package is updated to vaspkit-1.2.5. The previous script set the command as "vaspkitj", not "vaspkit" for my convenience. Sorry about the puzzle. Here in this version, "vaspkit" maybe work!

Kanyu commented on 2021-04-12 01:23 (UTC)

When I try to run the program I get this error: fish: The file “vaspkit” is not executable by this user

The permissions seem correct and I tried to find the error but dint find it.

I'm using a fish shell.