index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/mksrcinfo | 25 |
diff --git a/bin/mksrcinfo b/bin/mksrcinfo deleted file mode 100755 index 795c520..0000000 --- a/bin/mksrcinfo +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -# generate .SRCINFO from PKGBUILD -# bleh - this should really be handled by makepkg! - -( - CARCH='i686' - - . ./PKGBUILD - - if [ -z "${pkgbase}" ]; then - printf 'pkgbase = %s\n' "${pkgname}" - else - printf 'pkgbase = %s\n' "${pkgbase}" - fi - printf '\tarch = %s\n' "${arch[@]}" - printf '\tgroups = %s\n' "${groups[@]}" - for print in 'makedepends' 'checkdepends' 'depends' 'provides'; do - eval printf "'\t${print} = %s\n'" '"${'"${print}"'[@]}"' - for a in 'i686'; do - eval printf "'\t${print} = %s\n'" '"${'"${print}_${a}"'[@]}"' - done - done - printf 'pkgname = %s\n' "${pkgname[@]}" -) > .SRCINFO |