summarylogtreecommitdiffstats
path: root/update.sh
blob: 2ee574922e6b9750fdde2acb8114761c024ced3a (plain)
1
2
3
4
5
6
#!/bin/bash

ver=$(pacman -Qs linux | grep "local/linux "  | sed -rn 's/^local\/linux ([0-9]+(\.[0-9]+)*\.arch[0-9]+).*/\1/p')
sed -i "s/pkgver=.*$/pkgver=$ver/" PKGBUILD
updpkgsums
makepkg --printsrcinfo > .SRCINFO