diff options
Diffstat (limited to 'bin/mksrcinfo')
-rwxr-xr-x | bin/mksrcinfo | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/mksrcinfo b/bin/mksrcinfo index cfbf917..7dc62e1 100755 --- a/bin/mksrcinfo +++ b/bin/mksrcinfo @@ -1,5 +1,13 @@ #!/bin/sh +# generate .SRCINFO from PKGBUILD +# bleh - this should really be handled by makepkg! + +# TODO: + +# maybe source PKGBUILD instead of 'makepkg --printsrcinfo' and +# 'mksrcinfo'? + grep -q '\$CARCH' 'PKGBUILD' && \ CARCH=i686 makepkg --printsrcinfo > \ '.SRCINFO' || \ |