summaryrefslogtreecommitdiff
path: root/newapkbuild.in
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-22 21:50:55 -0500
committerJakub Jirutka <jakub@jirutka.cz>2018-05-24 17:58:55 +0200
commit75b8cacaf0468470c502314560a436b80b7fe9af (patch)
treed2c02377e604e1146014d0141e8bedab40f68f44 /newapkbuild.in
parentdb5ca2996a607137fe97724fbbd1ec1c677e6ed6 (diff)
downloadabuild-75b8cacaf0468470c502314560a436b80b7fe9af.tar.gz
abuild-75b8cacaf0468470c502314560a436b80b7fe9af.tar.bz2
abuild-75b8cacaf0468470c502314560a436b80b7fe9af.tar.xz
abuild-75b8cacaf0468470c502314560a436b80b7fe9af.zip
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.
Diffstat (limited to 'newapkbuild.in')
-rw-r--r--newapkbuild.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index 1a005c3..77d1a8b 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -228,7 +228,7 @@ subpackages="\$pkgname-dev \$pkgname-doc"
source="$source"
__EOF__
- abuild -f fetch unpack
+ abuild -f fetch checksum unpack
# Figure out the builddir
for i in src/*; do
if [ -d "$i" ]; then
@@ -339,7 +339,6 @@ __EOF__
}
__EOF__
- abuild -f checksum
}
usage() {