# prepare configure for cross-compilation sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD # disable makedepends and take out po4a sed -i "/makedepends=/s/po4a//" PKGBUILD sed -i 's@\(cd doc\)@#\1@g' PKGBUILD sed -i 's@\(po4a\)@#\1@g' PKGBUILD # we have no ld.so.conf, so we can ignore this: #/tmp/alpm_va2bmk/.INSTALL: line 2: usr/bin/ldconfig: No such file or directory #error: command failed to execute correctly