[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

Reply via email to