I came up with a pretty terrible workaround:
libvirt: source: . source-subdir: libvirt-6.0.0/build-subdir # ... override-build: | # ... mkdir libvirt-6.0.0/build-subdir cd libvirt-6.0.0/build-subdir ../autogen.sh
echo "#!/bin/sh exit 0 " >> autogen.sh chmod +x autogen.sh ln -s ../configure configure cd ../.. # Build snapcraftctl build
But it would be nice to have something more sane.
I came up with a pretty terrible workaround:
libvirt: 6.0.0/build- subdir 6.0.0/build- subdir 6.0.0/build- subdir
source: .
source-subdir: libvirt-
# ...
override-build: |
# ...
mkdir libvirt-
cd libvirt-
../autogen.sh
echo "#!/bin/sh
exit 0
" >> autogen.sh
chmod +x autogen.sh
ln -s ../configure configure
cd ../..
# Build
snapcraftctl build
But it would be nice to have something more sane.