summaryrefslogtreecommitdiffstats
path: root/audio-players/moc/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'audio-players/moc/DETAILS')
-rwxr-xr-xaudio-players/moc/DETAILS7
1 files changed, 2 insertions, 5 deletions
diff --git a/audio-players/moc/DETAILS b/audio-players/moc/DETAILS
index 1b14df6d62..5a2b02b27d 100755
--- a/audio-players/moc/DETAILS
+++ b/audio-players/moc/DETAILS
@@ -1,11 +1,8 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=moc
if [[ "$MOC_BRANCH" == "scm" ]]; then
- if [[ "$MOC_AUTOUPDATE" == "y" ]]; then
- VERSION=$(date +%Y%m%d)
+ VERSION=$(get_scm_version)
FORCE_DOWNLOAD=on
- else
- VERSION=svn
- fi
SOURCE=${SPELL}-svn.tar.bz2
SOURCE_URL[0]=svn://daper.net/moc/trunk:moc
SOURCE_IGNORE=volatile