Added Paraview automatic installation

This commit is contained in:
Caubet Serrabou Marc
2020-12-03 16:41:27 +01:00
parent 810228eb7a
commit 21210530b4
4 changed files with 45 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/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}"
}