lots0logs
3/12/2015 - 3:18 AM

PKGBUILD - get checksums dynamically at time of build

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