2016-05-14 18:15:58 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gcal/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Program for calculating and printing calendars"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2017-01-27 22:58:03 +01:00
|
|
|
TERMUX_PKG_VERSION=4.1
|
2017-12-05 23:55:10 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2017-01-27 22:58:03 +01:00
|
|
|
TERMUX_PKG_SHA256=91b56c40b93eee9bda27ec63e95a6316d848e3ee047b5880ed71e5e8e60f61ab
|
2017-12-05 23:32:34 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gcal/gcal-${TERMUX_PKG_VERSION}.tar.xz
|
2016-05-14 18:15:58 +02:00
|
|
|
TERMUX_PKG_DEPENDS="ncurses"
|
2017-12-05 23:55:10 +01:00
|
|
|
|
2019-08-08 14:25:54 +02:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
# Certain packages are not safe to build on device because their
|
|
|
|
# build.sh script deletes specific files in $TERMUX_PREFIX.
|
2019-08-12 17:28:41 +02:00
|
|
|
if $TERMUX_ON_DEVICE_BUILD; then
|
2019-08-08 14:25:54 +02:00
|
|
|
termux_error_exit "Package '$TERMUX_PKG_NAME' is not safe for on-device builds."
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2017-12-05 23:55:10 +01:00
|
|
|
termux_step_post_make_install() {
|
|
|
|
# XXX: share/info/dir is currently included in emacs.
|
|
|
|
# We should probably make texinfo regenerate that file
|
|
|
|
# just as the man package does with the man database.
|
|
|
|
rm -f $TERMUX_PREFIX/share/info/dir
|
|
|
|
}
|