[arch-general] PKGBUILD work

Gaetan Bisson bisson at archlinux.org
Sat Feb 5 09:16:58 EST 2011


[2011-02-05 12:02:53 -0200] Bernardo Barros:
>  But I'd like to know if I could do something like 'get-pkg-version',

If you trust the PKGBUILD:

	. PKGBUILD
	echo $pkgver

If you don't, then I would use AWK to parse it...

-- 
Gaetan


More information about the arch-general mailing list