summaryrefslogtreecommitdiffstats
path: root/graphics/lensfun/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/lensfun/DETAILS')
-rwxr-xr-xgraphics/lensfun/DETAILS7
1 files changed, 2 insertions, 5 deletions
diff --git a/graphics/lensfun/DETAILS b/graphics/lensfun/DETAILS
index 54c8d2a8e9..dec3143dc8 100755
--- a/graphics/lensfun/DETAILS
+++ b/graphics/lensfun/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=lensfun
if [[ $LENSFUN_BRANCH == scm ]]; then
-if [[ $LENSFUN_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
-else
- VERSION=scm
-fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-scm.tar.bz2
SOURCE_HINTS=old_svn_compat
FORCE_DOWNLOAD=ON