summaryrefslogtreecommitdiff
path: root/bin/mksrcinfo
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-23 16:29:52 +0200
committerErich Eckner <git@eckner.net>2017-06-23 16:29:52 +0200
commit906bc372e5f389e6bfb690fdab6bc076d66a3c2c (patch)
tree2abd7ea59738ca27010a54e2022e344a54b203ab /bin/mksrcinfo
parent858e08ab93d84a485edb60b066d4168199a26361 (diff)
downloadbuilder-906bc372e5f389e6bfb690fdab6bc076d66a3c2c.tar.xz
move a todo
Diffstat (limited to 'bin/mksrcinfo')
-rwxr-xr-xbin/mksrcinfo8
1 files changed, 8 insertions, 0 deletions
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' || \