diff --git a/wayland/sway/SlackBuild b/wayland/sway/SlackBuild index bd8f15f6..801c6f83 100755 --- a/wayland/sway/SlackBuild +++ b/wayland/sway/SlackBuild @@ -35,7 +35,7 @@ cp -R "$REPOSITORY" $TMP/ cd "$TMP/$PRGNAM/" || exit 1 case $VERSION in trunk) - # PKGVERSION="git_$(git rev-list --count HEAD)" + # PKGVERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" PKGVERSION="r$(git rev-list --count HEAD)" ;; latest) @@ -79,7 +79,7 @@ if [ "$EMBED_WLROOTS" = "yes" ]; then cd "$TMP/$PRGNAM"/subprojects/wlroots || exit 1 case $WLROOTS_VERSION in trunk) - # WLROOTS_VERSION="git_$(git rev-list --count HEAD)" + # WLROOTS_VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" WLROOTS_VERSION="r$(git rev-list --count HEAD)" ;; latest) @@ -109,7 +109,7 @@ if [ "$EMBED_LIBLIFTOFF" = "yes" ]; then cd "$TMP/$PRGNAM"/subprojects/libliftoff || exit 1 case $LIBLIFTOFF_VERSION in trunk) - # LIBLIFTOFF_VERSION="git_$(git rev-list --count HEAD)" + # LIBLIFTOFF_VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" LIBLIFTOFF_VERSION="r$(git rev-list --count HEAD)" ;; latest) @@ -139,7 +139,7 @@ if [ "$EMBED_LIBDISPLAYINFO" = "yes" ]; then cd "$TMP/$PRGNAM"/subprojects/libdisplay-info || exit 1 case $LIBDISPLAYINFO_VERSION in trunk) - # LIBDISPLAYINFO_VERSION="git_$(git rev-list --count HEAD)" + # LIBDISPLAYINFO_VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" LIBDISPLAYINFO_VERSION="r$(git rev-list --count HEAD)" ;; latest)