# expat is needed for libarchive SYSROOT_INSTALL=1 # prepare configure for cross-compilation sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD # TODO: ./configure: line 17309: program: command not found # most likely a harmless error when probing for some documentation build tool