blob: 7dc62e1809c3ac8d6be149ce3468124005a5dba9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/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' || \
mksrcinfo -o .SRCINFO
|