summarylogtreecommitdiffstats
path: root/update.sh
blob: 35572d896f95f063ee2db57f3e30aa32225e4e0d (plain)
1
2
3
4
5
6
#!/bin/bash
set -e

pkgver=$(curl -I "https://www.dropbox.com/download?plat=lnx.x86_64" | grep -P '^Location:' | grep -Po '\d+\.4\.\d+(?=\.tar\.gz)')
sed "s/^pkgver=.*/pkgver=$pkgver/" -i PKGBUILD
updpkgsums