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

curl "https://sources.archlinux.org/other/packages/gtkimageview/" 2> /dev/null | \
  tr "\"" "\n" | \
  grep "^gtkimageview-.*\.tar\.gz\$" | \
  sed "s|^gtkimageview-\(.*\)\.tar\.gz\$|\1|" | \
  sort -V | \
  tail -n1