summaryrefslogtreecommitdiffstats
path: root/chat-irc/weechat/DETAILS
diff options
context:
space:
mode:
Diffstat (limited to 'chat-irc/weechat/DETAILS')
-rwxr-xr-xchat-irc/weechat/DETAILS8
1 files changed, 3 insertions, 5 deletions
diff --git a/chat-irc/weechat/DETAILS b/chat-irc/weechat/DETAILS
index 6341b97dba..f8f86d6d07 100755
--- a/chat-irc/weechat/DETAILS
+++ b/chat-irc/weechat/DETAILS
@@ -1,15 +1,13 @@
+. "$GRIMOIRE/FUNCTIONS"
SPELL=weechat
if [ "$WEECHAT_BRANCH" == "scm" ]; then
- VERSION=$WEECHAT_BRANCH
- if [ "$WEECHAT_AUTOUPDATE" == "y" ]; then
- VERSION+=-$(date +%Y%m%d)
- fi
+ VERSION=$(get_scm_version)
SOURCE=weechat-$WEECHAT_BRANCH.tar.bz2
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/weechat-$WEECHAT_BRANCH
FORCE_DOWNLOAD=on
SOURCE_IGNORE=volatile
SOURCE_URL[0]=git://git.sv.gnu.org/weechat.git:$SPELL
-else
+else
if [ "$WEECHAT_BRANCH" == "devel" ]; then
VERSION=0.4.4-dev
SOURCE=$SPELL-devel.tar.bz2