summaryrefslogtreecommitdiff
path: root/manualPorts/eigen/lastVersion.sh
blob: 7b9c44ff4b92d3ad620df059fd193d0c9e22b894 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

curl -LSs 'https://gitlab.com/libeigen/eigen/-/tags' \
| tr '"' '\n' \
| sed '
  s@^/libeigen/eigen/-/archive/\([0-9.]\+\)/eigen-\1\.tar\.bz2$@\1@
  t
  d
' \
| sort -V \
| tail -n1