index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-23 16:29:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-23 16:29:52 +0200 |
commit | 906bc372e5f389e6bfb690fdab6bc076d66a3c2c (patch) | |
tree | 2abd7ea59738ca27010a54e2022e344a54b203ab | |
parent | 858e08ab93d84a485edb60b066d4168199a26361 (diff) |
-rwxr-xr-x | bin/common-functions | 3 | ||||
-rwxr-xr-x | bin/mksrcinfo | 8 |
diff --git a/bin/common-functions b/bin/common-functions index 458391f..3501b69 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -4,9 +4,6 @@ # TODO: -# maybe source PKGBUILD instead of 'makepkg --printsrcinfo' and -# 'mksrcinfo'? - # mangle $arch in PKBUILDs to contain i486, i586, i686 # find_pkgbuild package repository 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' || \ |