0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
TomIO 0a4fa24955
fix(main/rc): remember to bump the package revision
followup to 13635725d16d46f901d304f2e867f7a6b2e045f4
2024-07-30 19:00:11 +02:00

33 lines
1.0 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/rakitzis/rc
TERMUX_PKG_DESCRIPTION="An alternative implementation of the plan 9 rc shell"
TERMUX_PKG_LICENSE="ZLIB"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.7.4
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/rakitzis/rc/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=0b83f8698dd8ef44ca97b25c4748c087133f53c7fff39b6b70dab65931def8b0
TERMUX_PKG_DEPENDS="readline"
TERMUX_PKG_BREAKS="rcshell"
TERMUX_PKG_REPLACES="rcshell"
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE='newest-tag'
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_func_setpgrp_void=yes
rc_cv_sysv_sigcld=no
"
termux_step_host_build() {
(cd $TERMUX_PKG_SRCDIR && autoreconf -vfi)
$TERMUX_PKG_SRCDIR/configure
make mksignal mkstatval
}
termux_step_pre_configure() {
autoreconf -vfi
cp $TERMUX_PKG_HOSTBUILD_DIR/{mksignal,mkstatval} $TERMUX_PKG_BUILDDIR/
touch -d 'next hour' $TERMUX_PKG_BUILDDIR/{mksignal,mkstatval}
}