tergent: blacklist 32bit arches, fix build & install step

This commit is contained in:
Leonid Pliushch 2020-11-22 22:19:17 +02:00
parent 3f43a77a1d
commit d4be0d5c79

View File

@ -6,11 +6,12 @@ TERMUX_PKG_SRCURL=https://github.com/aeolwyr/tergent/archive/${TERMUX_PKG_VERSIO
TERMUX_PKG_SHA256=0b59cf0ced3f693fb19396a986326963f3763e6bf65d3e56af0a03d206d69428
TERMUX_PKG_DEPENDS="termux-api"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_BLACKLISTED_ARCHES="arm, i686"
termux_step_make_install() {
termux_setup_rust
cargo build --target=$TERMUX_HOST_PLATFORM --release
install -Dm600 -t $TERMUX_PREFIX/lib target/${TERMUX_HOST_PLATFORM}/release/libtergent.so
cargo build --jobs $TERMUX_MAKE_PROCESSES --target $CARGO_TARGET_NAME --release
install -Dm600 -t $TERMUX_PREFIX/lib target/${CARGO_TARGET_NAME}/release/libtergent.so
}
termux_step_create_debscripts() {