diff --git a/a/broadcom-bt-firmware/SlackBuild b/a/broadcom-bt-firmware/SlackBuild index 6ccce791..ba290781 100755 --- a/a/broadcom-bt-firmware/SlackBuild +++ b/a/broadcom-bt-firmware/SlackBuild @@ -25,7 +25,7 @@ rm -fr $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY ( cd $REPOSITORY; git pull ) -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/a/nct6687d/SlackBuild b/a/nct6687d/SlackBuild index 4eb8b6d2..3e0abadd 100755 --- a/a/nct6687d/SlackBuild +++ b/a/nct6687d/SlackBuild @@ -39,7 +39,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/a/pine64-platform-scripts/SlackBuild b/a/pine64-platform-scripts/SlackBuild index 97a84c93..d8051c3d 100755 --- a/a/pine64-platform-scripts/SlackBuild +++ b/a/pine64-platform-scripts/SlackBuild @@ -26,7 +26,7 @@ rm -fr $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY ( cd $REPOSITORY; git pull ) -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/a/rpi-firmware-nonfree/SlackBuild b/a/rpi-firmware-nonfree/SlackBuild index 5d8c2672..04762578 100755 --- a/a/rpi-firmware-nonfree/SlackBuild +++ b/a/rpi-firmware-nonfree/SlackBuild @@ -26,7 +26,7 @@ rm -fr $PKG # mise en place [ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY ( cd $REPOSITORY; git pull ) -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/alacritty-themer/SlackBuild b/ap/alacritty-themer/SlackBuild index 5e478db2..3a81adf1 100755 --- a/ap/alacritty-themer/SlackBuild +++ b/ap/alacritty-themer/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/amdgpud/SlackBuild b/ap/amdgpud/SlackBuild index dc6e89e3..732eedd2 100755 --- a/ap/amdgpud/SlackBuild +++ b/ap/amdgpud/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/bandwhich/SlackBuild b/ap/bandwhich/SlackBuild index cf366043..7a715636 100755 --- a/ap/bandwhich/SlackBuild +++ b/ap/bandwhich/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/bat/SlackBuild b/ap/bat/SlackBuild index c6f226ac..184addb6 100755 --- a/ap/bat/SlackBuild +++ b/ap/bat/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/btm/SlackBuild b/ap/btm/SlackBuild index 071b8e35..b56de0ef 100755 --- a/ap/btm/SlackBuild +++ b/ap/btm/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout -f $VERSION diff --git a/ap/checkssl/SlackBuild b/ap/checkssl/SlackBuild index e7728c18..c6ee7310 100755 --- a/ap/checkssl/SlackBuild +++ b/ap/checkssl/SlackBuild @@ -27,7 +27,7 @@ mkdir -p $PKG [ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY cd $REPOSITORY git pull --all -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/conty/SlackBuild b/ap/conty/SlackBuild index 0c3d8465..b15754ad 100755 --- a/ap/conty/SlackBuild +++ b/ap/conty/SlackBuild @@ -35,7 +35,7 @@ case $VERSION in VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$VERSION" ;; *) diff --git a/ap/delta/SlackBuild b/ap/delta/SlackBuild index a2b347a8..31cf44df 100755 --- a/ap/delta/SlackBuild +++ b/ap/delta/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/diskus/SlackBuild b/ap/diskus/SlackBuild index 3f3fe0fe..0a388f17 100755 --- a/ap/diskus/SlackBuild +++ b/ap/diskus/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/dive/SlackBuild b/ap/dive/SlackBuild index 84d39622..6181bf39 100755 --- a/ap/dive/SlackBuild +++ b/ap/dive/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/dua/SlackBuild b/ap/dua/SlackBuild index dac2ecc3..9b05308a 100755 --- a/ap/dua/SlackBuild +++ b/ap/dua/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/dust/SlackBuild b/ap/dust/SlackBuild index 9c4a8c7a..daee1ee2 100755 --- a/ap/dust/SlackBuild +++ b/ap/dust/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/esptool/SlackBuild b/ap/esptool/SlackBuild index 4aa6a1bf..949e5b5b 100755 --- a/ap/esptool/SlackBuild +++ b/ap/esptool/SlackBuild @@ -26,7 +26,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/f3/SlackBuild b/ap/f3/SlackBuild index c4ba95e1..88ad1e5b 100755 --- a/ap/f3/SlackBuild +++ b/ap/f3/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/fd/SlackBuild b/ap/fd/SlackBuild index 4f65fefe..b7331505 100755 --- a/ap/fd/SlackBuild +++ b/ap/fd/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/fish/SlackBuild b/ap/fish/SlackBuild index 90332257..88a5deeb 100755 --- a/ap/fish/SlackBuild +++ b/ap/fish/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/getssl/SlackBuild b/ap/getssl/SlackBuild index 2ff7dd6f..9b288ef2 100755 --- a/ap/getssl/SlackBuild +++ b/ap/getssl/SlackBuild @@ -27,7 +27,7 @@ mkdir -p $PKG [ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY cd $REPOSITORY git pull --all -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/gopsuinfo/SlackBuild b/ap/gopsuinfo/SlackBuild index f9a77cb0..2c74bfd0 100755 --- a/ap/gopsuinfo/SlackBuild +++ b/ap/gopsuinfo/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R "$REPOSITORY" $TMP/ cd "$TMP/$PRGNAM/" || exit -[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "$VERSION" == "" ] && VERSION=trunk if [ "$VERSION" == "trunk" ]; then VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" diff --git a/ap/grex/SlackBuild b/ap/grex/SlackBuild index 074a0c43..62efd867 100755 --- a/ap/grex/SlackBuild +++ b/ap/grex/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/himalaya/SlackBuild b/ap/himalaya/SlackBuild index 5da8de39..90290dca 100755 --- a/ap/himalaya/SlackBuild +++ b/ap/himalaya/SlackBuild @@ -32,7 +32,7 @@ git pull --all rm -r $tmp/$PRGNAM cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ht/SlackBuild b/ap/ht/SlackBuild index c70ab3d7..6572e70f 100755 --- a/ap/ht/SlackBuild +++ b/ap/ht/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/humble-cli/SlackBuild b/ap/humble-cli/SlackBuild index e0cff156..4f6ac00b 100755 --- a/ap/humble-cli/SlackBuild +++ b/ap/humble-cli/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/hyperfine/SlackBuild b/ap/hyperfine/SlackBuild index 0abfcdd2..7ab9a2e9 100755 --- a/ap/hyperfine/SlackBuild +++ b/ap/hyperfine/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/icr/SlackBuild b/ap/icr/SlackBuild index 273d364f..bbeaef82 100755 --- a/ap/icr/SlackBuild +++ b/ap/icr/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ijq/SlackBuild b/ap/ijq/SlackBuild index 27126976..ba31bf1f 100755 --- a/ap/ijq/SlackBuild +++ b/ap/ijq/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ion/SlackBuild b/ap/ion/SlackBuild index 585297f2..db1563e1 100755 --- a/ap/ion/SlackBuild +++ b/ap/ion/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/itd/SlackBuild b/ap/itd/SlackBuild index b67466af..dfc67ddd 100755 --- a/ap/itd/SlackBuild +++ b/ap/itd/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/jj/SlackBuild b/ap/jj/SlackBuild index 70bc1de3..49f8c80d 100755 --- a/ap/jj/SlackBuild +++ b/ap/jj/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ledger/SlackBuild b/ap/ledger/SlackBuild index 2504bbd6..c54f535a 100755 --- a/ap/ledger/SlackBuild +++ b/ap/ledger/SlackBuild @@ -49,7 +49,7 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/lsd/SlackBuild b/ap/lsd/SlackBuild index e11bcb23..765a9c06 100755 --- a/ap/lsd/SlackBuild +++ b/ap/lsd/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/lsyncd/SlackBuild b/ap/lsyncd/SlackBuild index 529d9f74..2a68ccec 100755 --- a/ap/lsyncd/SlackBuild +++ b/ap/lsyncd/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/mdcat/SlackBuild b/ap/mdcat/SlackBuild index b3f7fc1b..fc20bf35 100755 --- a/ap/mdcat/SlackBuild +++ b/ap/mdcat/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/motion/SlackBuild b/ap/motion/SlackBuild index 3e4a1732..64c57ee1 100755 --- a/ap/motion/SlackBuild +++ b/ap/motion/SlackBuild @@ -67,7 +67,7 @@ git pull --all cp -R $REPOSITORY $PRGNAM cd $PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION chown -R root:root . diff --git a/ap/mozwire/SlackBuild b/ap/mozwire/SlackBuild index 3784c4d5..8ae985b6 100755 --- a/ap/mozwire/SlackBuild +++ b/ap/mozwire/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ncdu/SlackBuild b/ap/ncdu/SlackBuild index 745a9cc3..b16e1dec 100755 --- a/ap/ncdu/SlackBuild +++ b/ap/ncdu/SlackBuild @@ -32,7 +32,7 @@ git submodule update cp -R "$REPOSITORY" $TMP/ cd "$TMP/$PRGNAM/" || exit 1 -[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "$VERSION" == "" ] && VERSION=trunk [ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION" diff --git a/ap/nu/SlackBuild b/ap/nu/SlackBuild index f52934e0..dda832a1 100755 --- a/ap/nu/SlackBuild +++ b/ap/nu/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/nvtop/SlackBuild b/ap/nvtop/SlackBuild index 8a1fbe87..3d633cfb 100755 --- a/ap/nvtop/SlackBuild +++ b/ap/nvtop/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/procs/SlackBuild b/ap/procs/SlackBuild index 238066eb..bfbba230 100755 --- a/ap/procs/SlackBuild +++ b/ap/procs/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ripgrep/SlackBuild b/ap/ripgrep/SlackBuild index ea41da60..d27e91d6 100755 --- a/ap/ripgrep/SlackBuild +++ b/ap/ripgrep/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/rustup/SlackBuild b/ap/rustup/SlackBuild index 78f2d341..3c6a4ab7 100755 --- a/ap/rustup/SlackBuild +++ b/ap/rustup/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/sd/SlackBuild b/ap/sd/SlackBuild index 37d4a00a..cf124906 100755 --- a/ap/sd/SlackBuild +++ b/ap/sd/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/stow/SlackBuild b/ap/stow/SlackBuild index d568fd71..9454015a 100755 --- a/ap/stow/SlackBuild +++ b/ap/stow/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/tldr/SlackBuild b/ap/tldr/SlackBuild index 2b677818..78ea8f0b 100755 --- a/ap/tldr/SlackBuild +++ b/ap/tldr/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/tre/SlackBuild b/ap/tre/SlackBuild index e6206ce2..290a080d 100755 --- a/ap/tre/SlackBuild +++ b/ap/tre/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/tv/SlackBuild b/ap/tv/SlackBuild index 162ecd84..f57ac71f 100755 --- a/ap/tv/SlackBuild +++ b/ap/tv/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/viu/SlackBuild b/ap/viu/SlackBuild index 741b3f94..a2518291 100755 --- a/ap/viu/SlackBuild +++ b/ap/viu/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ycmd/SlackBuild b/ap/ycmd/SlackBuild index cbe8536b..1ee5ab44 100755 --- a/ap/ycmd/SlackBuild +++ b/ap/ycmd/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/ap/ytop/SlackBuild b/ap/ytop/SlackBuild index 39c182f7..330820bd 100755 --- a/ap/ytop/SlackBuild +++ b/ap/ytop/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/ameba/SlackBuild b/d/ameba/SlackBuild index e6bd2794..78207091 100755 --- a/d/ameba/SlackBuild +++ b/d/ameba/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/chruby/SlackBuild b/d/chruby/SlackBuild index 908019d8..0016fab6 100755 --- a/d/chruby/SlackBuild +++ b/d/chruby/SlackBuild @@ -34,7 +34,7 @@ rm -fr $PKG $TMP/$PRGNAM cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/crystal-lang/SlackBuild b/d/crystal-lang/SlackBuild index b043758e..43bd8379 100755 --- a/d/crystal-lang/SlackBuild +++ b/d/crystal-lang/SlackBuild @@ -28,7 +28,7 @@ git pull --all cp -R "$REPOSITORY" $TMP/ cd "$TMP/$PRGNAM/" || exit -[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "$VERSION" == "" ] && VERSION=trunk if [ "$VERSION" == "trunk" ]; then VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" @@ -63,7 +63,7 @@ git pull --all cp -R "$SHARDS_REPOSITORY" "$TMP/" cd $TMP/$SHARDS_PRGNAM/ -[ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git describe --tags --abbrev=0) +[ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git tag --sort=-taggerdate | head -n1) [ "$SHARDS_VERSION" == "" ] && SHARDS_VERSION=trunk if [ "$SHARDS_VERSION" == "trunk" ]; then SHARDS_VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" diff --git a/d/dtc/SlackBuild b/d/dtc/SlackBuild index a6a2c57c..e3eb1ce8 100755 --- a/d/dtc/SlackBuild +++ b/d/dtc/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/factor-lang/SlackBuild b/d/factor-lang/SlackBuild index 1543947f..86947ffa 100755 --- a/d/factor-lang/SlackBuild +++ b/d/factor-lang/SlackBuild @@ -31,7 +31,7 @@ git pull --all [ -e $TMP/$PRGNAM ] && rm -fr $TMP/$PRGNAM cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/gforth-lang/SlackBuild b/d/gforth-lang/SlackBuild index 1219dac2..8b541f72 100755 --- a/d/gforth-lang/SlackBuild +++ b/d/gforth-lang/SlackBuild @@ -30,7 +30,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/newrpl-lang/SlackBuild b/d/newrpl-lang/SlackBuild index 1b99a330..3c1c8c88 100755 --- a/d/newrpl-lang/SlackBuild +++ b/d/newrpl-lang/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="$(git rev-list --count master)_git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/qbe/SlackBuild b/d/qbe/SlackBuild index f06b0bb5..9059cfa4 100755 --- a/d/qbe/SlackBuild +++ b/d/qbe/SlackBuild @@ -33,7 +33,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/rbspy/SlackBuild b/d/rbspy/SlackBuild index 20f19e66..618ef591 100755 --- a/d/rbspy/SlackBuild +++ b/d/rbspy/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/retroforth-lang/SlackBuild b/d/retroforth-lang/SlackBuild index 16c69480..c785106a 100755 --- a/d/retroforth-lang/SlackBuild +++ b/d/retroforth-lang/SlackBuild @@ -29,7 +29,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/rpn-lang/SlackBuild b/d/rpn-lang/SlackBuild index 64e5c34e..71ba051b 100755 --- a/d/rpn-lang/SlackBuild +++ b/d/rpn-lang/SlackBuild @@ -33,7 +33,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/ruby-install/SlackBuild b/d/ruby-install/SlackBuild index d503f24c..2ca5fa35 100755 --- a/d/ruby-install/SlackBuild +++ b/d/ruby-install/SlackBuild @@ -31,7 +31,7 @@ rm -fr $PKG $TMP/$PRGNAM cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/scry/SlackBuild b/d/scry/SlackBuild index 8357d3b4..94846c5e 100755 --- a/d/scry/SlackBuild +++ b/d/scry/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/scryer-prolog/SlackBuild b/d/scryer-prolog/SlackBuild index b801ba9c..e24bc061 100755 --- a/d/scryer-prolog/SlackBuild +++ b/d/scryer-prolog/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/wabt/SlackBuild b/d/wabt/SlackBuild index 6fc854a8..d62eed2c 100755 --- a/d/wabt/SlackBuild +++ b/d/wabt/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/d/wasm3/SlackBuild b/d/wasm3/SlackBuild index 5c8f2813..72e70de9 100755 --- a/d/wasm3/SlackBuild +++ b/d/wasm3/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/e/emacs/SlackBuild b/e/emacs/SlackBuild index 4f9cf389..6055529c 100755 --- a/e/emacs/SlackBuild +++ b/e/emacs/SlackBuild @@ -103,7 +103,7 @@ case $VERSION in VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$VERSION" ;; *) diff --git a/fonts/bitmap-fonts/SlackBuild b/fonts/bitmap-fonts/SlackBuild index 74e9ba79..79a047db 100755 --- a/fonts/bitmap-fonts/SlackBuild +++ b/fonts/bitmap-fonts/SlackBuild @@ -35,7 +35,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$VERSION" ;; *) diff --git a/l/apcu/SlackBuild b/l/apcu/SlackBuild index bd0135ed..ccfaa7fd 100755 --- a/l/apcu/SlackBuild +++ b/l/apcu/SlackBuild @@ -37,7 +37,7 @@ git pull --all cp -R $REPOSITORY $PRGNAM cd $PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/l/basu/SlackBuild b/l/basu/SlackBuild index c05392da..fcb73be8 100755 --- a/l/basu/SlackBuild +++ b/l/basu/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION diff --git a/l/fmt/SlackBuild b/l/fmt/SlackBuild index 66bc0591..a52cbc72 100755 --- a/l/fmt/SlackBuild +++ b/l/fmt/SlackBuild @@ -31,7 +31,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/l/hinnant-date/SlackBuild b/l/hinnant-date/SlackBuild index dc33ba81..45f425a0 100755 --- a/l/hinnant-date/SlackBuild +++ b/l/hinnant-date/SlackBuild @@ -36,7 +36,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION diff --git a/l/libucl/SlackBuild b/l/libucl/SlackBuild index ddd78a1d..94e3b99c 100755 --- a/l/libucl/SlackBuild +++ b/l/libucl/SlackBuild @@ -36,7 +36,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/l/python-cairo-cffi/SlackBuild b/l/python-cairo-cffi/SlackBuild index e708d1a1..66d1e193 100755 --- a/l/python-cairo-cffi/SlackBuild +++ b/l/python-cairo-cffi/SlackBuild @@ -34,7 +34,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/l/raylib/SlackBuild b/l/raylib/SlackBuild index 3d7cb748..83537cf0 100755 --- a/l/raylib/SlackBuild +++ b/l/raylib/SlackBuild @@ -34,7 +34,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/l/sdl12-compat/SlackBuild b/l/sdl12-compat/SlackBuild index fc5e29fe..1f48ebff 100755 --- a/l/sdl12-compat/SlackBuild +++ b/l/sdl12-compat/SlackBuild @@ -30,7 +30,7 @@ cd "$TMP" || exit cp -R "$REPOSITORY" "${TMP:?}/$PRGNAM" cd "$TMP/$PRGNAM" || exit -[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "$VERSION" == "" ] && VERSION=trunk if [ "$VERSION" == "trunk" ]; then VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" diff --git a/l/seatd/SlackBuild b/l/seatd/SlackBuild index 7d7e0046..9ebb6e61 100755 --- a/l/seatd/SlackBuild +++ b/l/seatd/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/l/spdlog/SlackBuild b/l/spdlog/SlackBuild index 0dea0a40..1d82de8e 100755 --- a/l/spdlog/SlackBuild +++ b/l/spdlog/SlackBuild @@ -32,7 +32,7 @@ cd $TMP cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/lua/luarocks/SlackBuild b/lua/luarocks/SlackBuild index 1bd9ba9b..95032d0b 100755 --- a/lua/luarocks/SlackBuild +++ b/lua/luarocks/SlackBuild @@ -38,7 +38,7 @@ cd $TMP cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM cd $PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/n/calibre-web/SlackBuild b/n/calibre-web/SlackBuild index 636d4160..d66e8488 100755 --- a/n/calibre-web/SlackBuild +++ b/n/calibre-web/SlackBuild @@ -40,7 +40,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/n/pluxml/SlackBuild b/n/pluxml/SlackBuild index 48d70cb8..dfa9fa05 100755 --- a/n/pluxml/SlackBuild +++ b/n/pluxml/SlackBuild @@ -34,7 +34,7 @@ REPOSITORY=/home/installs/SlackBuilds/_repositories/$PRGNAM cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs cd $PKG/$VHOSTROOT/htdocs -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/autotiling/SlackBuild b/wayland/autotiling/SlackBuild index 58807524..96ddfc56 100755 --- a/wayland/autotiling/SlackBuild +++ b/wayland/autotiling/SlackBuild @@ -37,7 +37,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/wayland/cage/SlackBuild b/wayland/cage/SlackBuild index 693624f8..15a436ce 100755 --- a/wayland/cage/SlackBuild +++ b/wayland/cage/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/dwl/SlackBuild b/wayland/dwl/SlackBuild index 57c7c4f2..c0df18d8 100755 --- a/wayland/dwl/SlackBuild +++ b/wayland/dwl/SlackBuild @@ -82,7 +82,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/wayland/foot/SlackBuild b/wayland/foot/SlackBuild index c7b1a227..01013426 100755 --- a/wayland/foot/SlackBuild +++ b/wayland/foot/SlackBuild @@ -29,7 +29,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/imv/SlackBuild b/wayland/imv/SlackBuild index 361b7592..7810fff0 100755 --- a/wayland/imv/SlackBuild +++ b/wayland/imv/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/japokwm/SlackBuild b/wayland/japokwm/SlackBuild index acdab6d0..04c21562 100755 --- a/wayland/japokwm/SlackBuild +++ b/wayland/japokwm/SlackBuild @@ -36,7 +36,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/wayland/kanshi/SlackBuild b/wayland/kanshi/SlackBuild index a34b4584..a47246e4 100755 --- a/wayland/kanshi/SlackBuild +++ b/wayland/kanshi/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/lswt/SlackBuild b/wayland/lswt/SlackBuild index da19caf3..2bf1c756 100755 --- a/wayland/lswt/SlackBuild +++ b/wayland/lswt/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/mako/SlackBuild b/wayland/mako/SlackBuild index b685fd84..246fcad7 100755 --- a/wayland/mako/SlackBuild +++ b/wayland/mako/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/nwg-look/SlackBuild b/wayland/nwg-look/SlackBuild index a642854a..d1944c27 100755 --- a/wayland/nwg-look/SlackBuild +++ b/wayland/nwg-look/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R "$REPOSITORY" $TMP/ cd "$TMP/$PRGNAM/" || exit -[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "$VERSION" == "" ] && VERSION=trunk if [ "$VERSION" == "trunk" ]; then VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" diff --git a/wayland/nwg-panel/SlackBuild b/wayland/nwg-panel/SlackBuild index e8941cc4..eb85df51 100755 --- a/wayland/nwg-panel/SlackBuild +++ b/wayland/nwg-panel/SlackBuild @@ -37,7 +37,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/wayland/persway/SlackBuild b/wayland/persway/SlackBuild index f87e2747..9918c40d 100755 --- a/wayland/persway/SlackBuild +++ b/wayland/persway/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/river/SlackBuild b/wayland/river/SlackBuild index 87cd3258..75ca3f3c 100755 --- a/wayland/river/SlackBuild +++ b/wayland/river/SlackBuild @@ -33,7 +33,7 @@ git submodule update cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/salut/SlackBuild b/wayland/salut/SlackBuild index 512a4f44..0675dd9a 100755 --- a/wayland/salut/SlackBuild +++ b/wayland/salut/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/sfwbar/SlackBuild b/wayland/sfwbar/SlackBuild index 0bdcf612..4818320a 100755 --- a/wayland/sfwbar/SlackBuild +++ b/wayland/sfwbar/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/sway/SlackBuild b/wayland/sway/SlackBuild index 2239f47d..d428a093 100755 --- a/wayland/sway/SlackBuild +++ b/wayland/sway/SlackBuild @@ -40,7 +40,7 @@ case $VERSION in PKGVERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - PKGVERSION=$(git describe --tags --abbrev=0) + PKGVERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$PKGVERSION" ;; *) @@ -86,7 +86,7 @@ if [ "$EMBED_WLROOTS" = "yes" ]; then WLROOTS_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - WLROOTS_VERSION=$(git describe --tags --abbrev=0) + WLROOTS_VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$WLROOTS_VERSION" ;; *) @@ -116,7 +116,7 @@ if [ "$EMBED_LIBLIFTOFF" = "yes" ]; then LIBLIFTOFF_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - LIBLIFTOFF_VERSION=$(git describe --tags --abbrev=0) + LIBLIFTOFF_VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$LIBLIFTOFF_VERSION" ;; *) @@ -146,7 +146,7 @@ if [ "$EMBED_LIBDISPLAYINFO" = "yes" ]; then LIBDISPLAYINFO_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - LIBDISPLAYINFO_VERSION=$(git describe --tags --abbrev=0) + LIBDISPLAYINFO_VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$LIBDISPLAYINFO_VERSION" ;; *) diff --git a/wayland/swaybg/SlackBuild b/wayland/swaybg/SlackBuild index 9830f13d..8ce25733 100755 --- a/wayland/swaybg/SlackBuild +++ b/wayland/swaybg/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/swayidle/SlackBuild b/wayland/swayidle/SlackBuild index 0ddd5a40..b9825586 100755 --- a/wayland/swayidle/SlackBuild +++ b/wayland/swayidle/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/swaylock/SlackBuild b/wayland/swaylock/SlackBuild index 12c2d99f..85294d86 100755 --- a/wayland/swaylock/SlackBuild +++ b/wayland/swaylock/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/swayr/SlackBuild b/wayland/swayr/SlackBuild index e10afed6..2063f957 100755 --- a/wayland/swayr/SlackBuild +++ b/wayland/swayr/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/vivarium/SlackBuild b/wayland/vivarium/SlackBuild index f8135023..c96c64e1 100755 --- a/wayland/vivarium/SlackBuild +++ b/wayland/vivarium/SlackBuild @@ -36,7 +36,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/wayland/waybar/SlackBuild b/wayland/waybar/SlackBuild index 606f347f..76c27096 100755 --- a/wayland/waybar/SlackBuild +++ b/wayland/waybar/SlackBuild @@ -20,17 +20,17 @@ REPOSITORY=/home/installs/SlackBuilds/_repositories/$PRGNAM PREFIX=/usr if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="$(uname -m | grep -o 64)" + SLKCFLAGS="-O2" + LIBDIRSUFFIX="$(uname -m | grep -o 64)" fi # nettoyage préalable @@ -51,7 +51,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) @@ -61,33 +61,34 @@ esac mkdir build cd build - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ - meson .. \ - --buildtype=release \ - --infodir=/usr/info \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --localstatedir=/var \ - --mandir=/usr/man \ - --prefix=/usr \ - --sysconfdir=/etc \ - -Dstrip=true \ - -Dlibcxx=false \ - -Dlibnl=enabled \ - -Dlibudev=auto \ - -Dlibevdev=auto \ - -Dpulseaudio=auto \ - -Dsystemd=disabled \ - -Ddbusmenu-gtk=auto \ - -Dmpd=auto \ - -Dgtk-layer-shell=auto \ - -Drfkill=auto \ - -Dsndio=disabled \ - -Dtests=disabled \ - -Dexperimental=true \ - "${NINJA:=ninja}" - DESTDIR=$PKG $NINJA install +CFLAGS="$SLKCFLAGS" \ + CXXFLAGS="$SLKCFLAGS" \ + meson .. \ + --buildtype=release \ + --infodir=/usr/info \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --localstatedir=/var \ + --mandir=/usr/man \ + --prefix=/usr \ + --sysconfdir=/etc \ + -Dstrip=true \ + -Dlibcxx=false \ + -Dlibnl=enabled \ + -Dlibudev=auto \ + -Dlibevdev=auto \ + -Dpulseaudio=auto \ + -Dsystemd=disabled \ + -Ddbusmenu-gtk=auto \ + -Dmpd=auto \ + -Dgtk-layer-shell=auto \ + -Drfkill=auto \ + -Dsndio=disabled \ + -Dtests=disabled \ + -Dexperimental=true \ + + "${NINJA:=ninja}" +DESTDIR=$PKG $NINJA install cd .. mkdir -p $PKG$PREFIX/doc/$PRGNAM diff --git a/wayland/wlopm/SlackBuild b/wayland/wlopm/SlackBuild index eefd33db..9a785c8f 100755 --- a/wayland/wlopm/SlackBuild +++ b/wayland/wlopm/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/wlr-randr/SlackBuild b/wayland/wlr-randr/SlackBuild index 78677647..67734443 100755 --- a/wayland/wlr-randr/SlackBuild +++ b/wayland/wlr-randr/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/wayland/wlroots/SlackBuild b/wayland/wlroots/SlackBuild index ec58e146..559b2382 100755 --- a/wayland/wlroots/SlackBuild +++ b/wayland/wlroots/SlackBuild @@ -37,7 +37,7 @@ case $VERSION in VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - VERSION=$(git describe --tags --abbrev=0) + VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout $VERSION ;; *) diff --git a/xap/alacritty/SlackBuild b/xap/alacritty/SlackBuild index 0c872b86..491b6af6 100755 --- a/xap/alacritty/SlackBuild +++ b/xap/alacritty/SlackBuild @@ -2,7 +2,7 @@ # variables GITHUB_REPO=jwilm/alacritty -VERSION=${VERSION:-trunk} # 'latest' will not select the actual latest tag +VERSION=${VERSION:-latest} BUILD=${BUILD:-1} TAG=gwh @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/alttab/SlackBuild b/xap/alttab/SlackBuild index 13414d63..63251bea 100755 --- a/xap/alttab/SlackBuild +++ b/xap/alttab/SlackBuild @@ -34,7 +34,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM # Preparation cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/barrier/SlackBuild b/xap/barrier/SlackBuild index 2f3ba300..bdd58bf0 100755 --- a/xap/barrier/SlackBuild +++ b/xap/barrier/SlackBuild @@ -33,7 +33,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION git submodule update --init --recursive diff --git a/xap/brightnessctl/SlackBuild b/xap/brightnessctl/SlackBuild index 960935c6..942a6cdc 100755 --- a/xap/brightnessctl/SlackBuild +++ b/xap/brightnessctl/SlackBuild @@ -32,7 +32,7 @@ cd $TMP cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/gammastep/SlackBuild b/xap/gammastep/SlackBuild index 03bcc913..14180bf3 100755 --- a/xap/gammastep/SlackBuild +++ b/xap/gammastep/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/i3status-rust/SlackBuild b/xap/i3status-rust/SlackBuild index 87c95a95..5188e6c1 100755 --- a/xap/i3status-rust/SlackBuild +++ b/xap/i3status-rust/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/image-roll/SlackBuild b/xap/image-roll/SlackBuild index cf6a16a0..bd58e57f 100755 --- a/xap/image-roll/SlackBuild +++ b/xap/image-roll/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/kitty/SlackBuild b/xap/kitty/SlackBuild index 7e0e2f99..423502f7 100755 --- a/xap/kitty/SlackBuild +++ b/xap/kitty/SlackBuild @@ -31,7 +31,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/leocad/SlackBuild b/xap/leocad/SlackBuild index 01aeec20..53e6af48 100755 --- a/xap/leocad/SlackBuild +++ b/xap/leocad/SlackBuild @@ -28,7 +28,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/nextcloud-desktop/SlackBuild b/xap/nextcloud-desktop/SlackBuild index 93bc05cf..f39140ec 100755 --- a/xap/nextcloud-desktop/SlackBuild +++ b/xap/nextcloud-desktop/SlackBuild @@ -33,7 +33,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION git submodule update --init --recursive diff --git a/xap/picom-conf/SlackBuild b/xap/picom-conf/SlackBuild index 66159d69..11dd5187 100755 --- a/xap/picom-conf/SlackBuild +++ b/xap/picom-conf/SlackBuild @@ -33,7 +33,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/polybar/SlackBuild b/xap/polybar/SlackBuild index afe59ba8..9a16d537 100755 --- a/xap/polybar/SlackBuild +++ b/xap/polybar/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/qtile/SlackBuild b/xap/qtile/SlackBuild index b337a2c0..6ad6925d 100755 --- a/xap/qtile/SlackBuild +++ b/xap/qtile/SlackBuild @@ -37,7 +37,7 @@ case $VERSION in PKGVERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - PKGVERSION=$(git describe --tags --abbrev=0) + PKGVERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$VERSION" ;; *) @@ -149,7 +149,7 @@ if [ "$EMBED_EXTRAS" = "yes" ]; then EXTRAS_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - EXTRAS_VERSION=$(git describe --tags --abbrev=0) + EXTRAS_VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$EXTRAS_VERSION" ;; *) @@ -187,7 +187,7 @@ if [ "$EMBED_PYWAYLAND" = "yes" ]; then PYWAYLAND_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - PYWAYLAND_VERSION=$(git describe --tags --abbrev=0) + PYWAYLAND_VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$PYWAYLAND_VERSION" ;; *) @@ -224,7 +224,7 @@ if [ "$EMBED_PYWLROOTS" = "yes" ]; then PYWLROOTS_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" ;; latest) - PYWLROOTS_VERSION=$(git describe --tags --abbrev=0) + PYWLROOTS_VERSION=$(git tag --sort=-taggerdate | head -n1) git checkout "$PYWLROOTS_VERSION" ;; *) diff --git a/xap/radeon-profile/SlackBuild b/xap/radeon-profile/SlackBuild index 2e5cfdcf..98e36926 100755 --- a/xap/radeon-profile/SlackBuild +++ b/xap/radeon-profile/SlackBuild @@ -28,7 +28,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/rkvm/SlackBuild b/xap/rkvm/SlackBuild index 96c71d08..4bd9f350 100755 --- a/xap/rkvm/SlackBuild +++ b/xap/rkvm/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/wezterm/SlackBuild b/xap/wezterm/SlackBuild index 5912d74a..acb4c543 100755 --- a/xap/wezterm/SlackBuild +++ b/xap/wezterm/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/x48ng/SlackBuild b/xap/x48ng/SlackBuild index 569b94ee..ba36abd1 100755 --- a/xap/x48ng/SlackBuild +++ b/xap/x48ng/SlackBuild @@ -36,7 +36,7 @@ cp -R $REPOSITORY $TMP/$PRGNAM # Preparation cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/xap/x49gp/SlackBuild b/xap/x49gp/SlackBuild index 3a8b4a69..4abbb6a2 100755 --- a/xap/x49gp/SlackBuild +++ b/xap/x49gp/SlackBuild @@ -35,7 +35,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/y/cboard/SlackBuild b/y/cboard/SlackBuild index b03e2a2f..502af8e0 100755 --- a/y/cboard/SlackBuild +++ b/y/cboard/SlackBuild @@ -32,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION diff --git a/y/steamtinkerlaunch/SlackBuild b/y/steamtinkerlaunch/SlackBuild index dcf87b21..22998374 100755 --- a/y/steamtinkerlaunch/SlackBuild +++ b/y/steamtinkerlaunch/SlackBuild @@ -30,7 +30,7 @@ git pull --all cp -R $REPOSITORY $TMP/$PRGNAM cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0) +[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1) [ "x$VERSION" == "x" ] && VERSION=trunk [ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION