Commit 75b8caca authored by A. Wilcox's avatar A. Wilcox Committed by Jakub Jirutka
Browse files

newapkbuild: move checksum call to after fetch

unpack will no longer unpack without a checksum, even with -f.  This
means that newapkbuild will not be able to deduce what kind of build
system is contained within, so the templates for CMake, Perl, etc are
never used.

This patch ensures checksumming is done right after fetch, so that
unpack works properly.
parent db5ca299
...@@ -228,7 +228,7 @@ subpackages="\$pkgname-dev \$pkgname-doc" ...@@ -228,7 +228,7 @@ subpackages="\$pkgname-dev \$pkgname-doc"
source="$source" source="$source"
__EOF__ __EOF__
abuild -f fetch unpack abuild -f fetch checksum unpack
# Figure out the builddir # Figure out the builddir
for i in src/*; do for i in src/*; do
if [ -d "$i" ]; then if [ -d "$i" ]; then
...@@ -339,7 +339,6 @@ __EOF__ ...@@ -339,7 +339,6 @@ __EOF__
} }
__EOF__ __EOF__
abuild -f checksum
} }
usage() { usage() {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment