From 906bc372e5f389e6bfb690fdab6bc076d66a3c2c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 23 Jun 2017 16:29:52 +0200 Subject: move a todo --- bin/common-functions | 3 --- bin/mksrcinfo | 8 ++++++++ 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'bin') 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' || \ -- cgit v1.2.3-70-g09d2