Skip to content

Instantly share code, notes, and snippets.

@lots0logs
Last active August 29, 2015 14:16
Show Gist options
  • Save lots0logs/12932498780b627c33e7 to your computer and use it in GitHub Desktop.
Save lots0logs/12932498780b627c33e7 to your computer and use it in GitHub Desktop.
PKGBUILD - get checksums dynamically at time of build
_eap=True
if [[ ${_eap} = "True" ]]; then
source=("http://download.jetbrains.com/python/pycharm-professional-${_buildver}.tar.gz")
sha256sums=$(wget -q "${source}.sha256" && cat "pycharm-professional-${_buildver}.tar.gz.sha256" | cut -f1 -d" ")
else
source=("http://download.jetbrains.com/python/pycharm-professional-${_pkgver}.tar.gz")
sha256sums=$(wget -q "${source}.sha256" && cat "pycharm-professional-${_pkgver}.tar.gz.sha256" | cut -f1 -d" ")
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment