# prepare configure for cross-compilation sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD # gettext: take the one from the host sed -i 's@makedepends\(.*\)@#makedepends\1@g' PKGBUILD