# prepare configure for cross-compilation sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD # no man page generation sed -i "/depends=/s/help2man//" PKGBUILD