summaryrefslogtreecommitdiffstats
path: root/x11-libs/wine/DETAILS
diff options
context:
space:
mode:
authorIsmael Luceno2014-07-03 11:36:54 -0300
committerIsmael Luceno2014-07-03 11:36:54 -0300
commit62d3b562bc39430a3a5fcda52895a7af0d142336 (patch)
treedc190f7fffa8e4bdc56f9aa059e572ae89ac1a3a /x11-libs/wine/DETAILS
parentfc676197b8718a13742c0b6c26a0127ca5e476d9 (diff)
Make several spells to use get_scm_version
Diffstat (limited to 'x11-libs/wine/DETAILS')
-rwxr-xr-xx11-libs/wine/DETAILS7
1 files changed, 2 insertions, 5 deletions
diff --git a/x11-libs/wine/DETAILS b/x11-libs/wine/DETAILS
index 7cf4b6c45a..04b2611905 100755
--- a/x11-libs/wine/DETAILS
+++ b/x11-libs/wine/DETAILS
@@ -1,10 +1,7 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=wine
if [[ $WINE_BRANCH == scm ]]; then
- if [[ $WINE_AUTOUPDATE == y ]]; then
- VERSION=$(date +%Y%m%d)
- else
- VERSION=git
- fi
+ VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://source.winehq.org/git/wine.git:wine-git
SOURCE_IGNORE=volatile