# prepare configure for cross-compilation sed -i "/--prefix=\/usr/ a \ --host=$TARGET_ARCH --build=$BUILD_ARCH \\\\" PKGBUILD # git is still there as build dependency, not needed sed -i "/makedepends=/s/git//" PKGBUILD