summaryrefslogtreecommitdiff
path: root/bin/mksrcinfo
blob: cfbf917dd2f8eec9b554b9e07b3df589e1ad47d1 (plain)
1
2
3
4
5
6
#!/bin/sh

grep -q '\$CARCH' 'PKGBUILD' && \
  CARCH=i686 makepkg --printsrcinfo > \
    '.SRCINFO' || \
  mksrcinfo -o .SRCINFO