summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Mocciola2015-07-07 20:20:22 +0200
committerMichele Mocciola2015-07-07 20:20:22 +0200
commitebc2c91aa2092c44c42eb3f29f6b630a01c10179 (patch)
treee415bd34713a862af862a0525f8698b2d4f03398
parenta1a32da1f6b723756bd2742bcf3ae83781d39d04 (diff)
downloadaur-ebc2c91aa2092c44c42eb3f29f6b630a01c10179.tar.gz
Little change to simplify updating of tha package
-rw-r--r--PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fc9f60d2f2a9..3119388a42e0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ prepare() {
fi
git clone git://git.salome-platform.org/modules/${_source}.git
cd ${_source}
- git checkout V7_6_0
+ git checkout V${pkgver:0:1}_${pkgver:2:1}_${pkgver:4:1}
msg "GIT checkout done or server timeout"
sed -e 's|INSTALL(CODE "FILE(TIMESTAMP \\"\${CMAKE_INSTALL_PREFIX}/\${path}/\${file_name}\\" py_time)")|INSTALL(CODE "IF(EXISTS \\"\${CMAKE_INSTALL_PREFIX}/\${path}/\${file_we}.py\\") \\n FILE(TIMESTAMP \\"\${CMAKE_INSTALL_PREFIX}/\${path}/\${file_we}.py\\" py_time) \\n ELSE()\\n SET(py_time 0) \\n ENDIF() ")|' -i salome_adm/cmake_files/SalomeMacros.cmake