0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-21 20:56:19 +00:00
termux-packages/disabled-packages/anacron/build.sh
TomIO e17ba66e5c
rmpkg(main/anacron) (#21805)
Anacron has received no development in 15+ years.
It's functionality is also being provided by both `cronie` and
`busybox`'s crond.
2024-10-14 10:20:46 +02:00

21 lines
663 B
Bash

TERMUX_PKG_HOMEPAGE=https://anacron.sourceforge.net/
TERMUX_PKG_DESCRIPTION="A periodic command scheduler"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.3
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/anacron/anacron-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=5ceee6f22cd089bdaf1c0841200dbe5726babaf9e2c432bb17c1fc95da5ca99f
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_EXTRA_MAKE_ARGS="PREFIX=$TERMUX_PREFIX"
termux_step_post_get_source() {
cp $TERMUX_PKG_BUILDER_DIR/obstack.h ./
}
termux_step_create_debscripts() {
cat <<- EOF > ./postinst
#!$TERMUX_PREFIX/bin/sh
mkdir -p $TERMUX_PREFIX/var/spool/anacron
EOF
}