summaryrefslogtreecommitdiff
path: root/manualPorts/libpano13/lastVersion.sh
blob: f5f0714540606bd1da19dbeae8888ad28e850066 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

curl 'https://sourceforge.net/projects/panotools/files/latest/download' 2> /dev/null | \
  tr '/?' '\n\n' | \
  grep '^libpano13-[0-9.]\+\.tar\.gz$' | \
  sed 's|^libpano13-\([0-9.]\+\)\.tar\.gz$|\1|' | \
  sort -V | \
  tail -n1