termux-packages/packages/hors/build.sh

17 lines
571 B
Bash
Raw Normal View History

2020-08-25 15:20:57 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/WindSoilder/hors
TERMUX_PKG_DESCRIPTION="Instant coding answers via the command line (howdoi in rust)"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Krishna Kanhaiya @kcubeterm"
2021-06-13 20:32:59 +02:00
TERMUX_PKG_VERSION=0.8.2
2020-08-25 15:20:57 +02:00
TERMUX_PKG_SRCURL=https://github.com/WindSoilder/hors/archive/v${TERMUX_PKG_VERSION}.tar.gz
2021-06-13 20:32:59 +02:00
TERMUX_PKG_SHA256=22419b26f64a2793759d3a3616df58196897cd9227074f475aeb3e1c366296a9
2020-08-25 15:20:57 +02:00
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
2020-10-27 10:04:27 +01:00
if [ $TERMUX_ARCH = arm ]; then
CFLAGS+=" -fno-integrated-as"
fi
2020-08-25 15:20:57 +02:00
rm -f Makefile
}