summarylogtreecommitdiffstats
path: root/gen-srcinfo.sh
blob: 04c0ce7d11a07db3b6ec6c9837fe861dc9d4cfe8 (plain)
1
2
3
. <(grep -e^{,_}pkgver= PKGBUILD|tr - _)
sed -i /^pkgver=/s/=.*/=$_pkgver/`[ $pkgver = $_pkgver ] || echo \;/^pkgrel=/s/=.*/=1/` PKGBUILD
CARCH=x86_64 makepkg --printsrcinfo>.SRCINFO