Files
MX_Pmodule/Tools/paraview/build
2020-12-03 16:41:27 +01:00

22 lines
414 B
Plaintext
Executable File

#!/usr/bin/env modbuild
URL=$(grep -E "^${V_PKG}" files/version-to-tarname.txt | awk '{print $2}')
FILENAME=$(grep -E "^${V_PKG}" files/version-to-tarname.txt | sed 's/"//g' | awk -F'downloadFile=' '{print $2}')
pbuild::set_download_url "${URL}" "${FILENAME}"
pbuild::add_to_group 'Tools'
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
rsync -alvAHXS "${SRC_DIR}"/* "${PREFIX}"
}