summarylogtreecommitdiffstats
path: root/update.sh
blob: 1bd3191d594fa1a39c1155a26c6e0de0d0fa761f (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
cd "$(dirname "$0")"

[[ "$#" -ne 0 ]] || exit 1

sed -E -i "s/pkgver=.*/pkgver=${1}/" PKGBUILD
updpkgsums
makepkg --printsrcinfo >.SRCINFO