Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parent858e08ab93d84a485edb60b066d4168199a26361 (diff)
move a todo
-rwxr-xr-xbin/common-functions3
-rwxr-xr-xbin/mksrcinfo8
2 files changed, 8 insertions, 3 deletions
diff --git a/bin/common-functions b/bin/common-functions
index 458391f..3501b69 100755
--- a/bin/common-functions
+++ b/bin/common-functions
@@ -4,9 +4,6 @@
# TODO:
-# maybe source PKGBUILD instead of 'makepkg --printsrcinfo' and
-# 'mksrcinfo'?
-
# mangle $arch in PKBUILDs to contain i486, i586, i686
# find_pkgbuild package repository
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' || \