index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-07-28 09:52:07 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-07-28 09:52:07 +0200 |
commit | 1c98ccb945dac97012b2bc6969ec337ce8fbb12e (patch) | |
tree | c6cb24f087be0f61a6388ce6c929186c81ce4e25 /bin/mksrcinfo | |
parent | f3b57546352b1fb096490b2c3d5bfe4975db674a (diff) |
-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 |