summaryrefslogtreecommitdiffstats
path: root/x11-libs
diff options
context:
space:
mode:
authorIsmael Luceno2021-04-07 19:35:05 +0200
committerIsmael Luceno2021-04-08 15:38:43 +0200
commit544972956c22391cbe2ea25558af8c19f466301b (patch)
tree89b8939c96ba67f1ce0a87314d86be9c0433e95d /x11-libs
parent21ff89f128b96c2dfceeb8d98c32249c851aed44 (diff)
wine 6.0 (stable) / 6.5 (devel)
Diffstat (limited to 'x11-libs')
-rwxr-xr-xx11-libs/wine/DETAILS20
1 files changed, 12 insertions, 8 deletions
diff --git a/x11-libs/wine/DETAILS b/x11-libs/wine/DETAILS
index c1aa1e7bbb..f578f2830a 100755
--- a/x11-libs/wine/DETAILS
+++ b/x11-libs/wine/DETAILS
@@ -1,18 +1,21 @@
. "$GRIMOIRE/FUNCTIONS"
SPELL=wine
-if [[ $WINE_BRANCH == scm ]]; then
+case "$WINE_BRANCH" in
+ (scm)
VERSION=$(get_scm_version)
SOURCE=$SPELL-git.tar.bz2
SOURCE_URL[0]=git://source.winehq.org/git/wine.git:wine-git
SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-git"
FORCE_DOWNLOAD=1
-else
- if [[ $WINE_BRANCH == devel ]]; then
- VERSION=3.1
- else
- VERSION=3.0.1
- fi
+ ;;
+ (devel)
+ VERSION=6.5
+ ;&
+ (stable)
+ VERSION=6.0
+ ;&
+ (*)
SOURCE=$SPELL-$VERSION.tar.xz
SOURCE2=$SOURCE.sign
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/$SPELL/$SOURCE
@@ -24,7 +27,8 @@ else
SOURCE_GPG=wine.gpg:$SOURCE.sign:UPSTREAM_KEY
SOURCE2_IGNORE=signature
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
-fi
+ ;;
+esac
LICENSE[0]=LGPL
WEB_SITE=http://www.winehq.com/
KEYWORDS="emulator x11 libs"