new package: pcal

This commit is contained in:
Tee KOBAYASHI 2022-12-01 04:21:52 +09:00 committed by xtkoba
parent c6a01d541e
commit 3b41abe818
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,8 @@
Copyright (C) 1988 by Jef Poskanzer and Craig Leres.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation. This software is provided "as is" without
express or implied warranty.

24
packages/pcal/build.sh Normal file
View File

@ -0,0 +1,24 @@
TERMUX_PKG_HOMEPAGE=https://pcal.sourceforge.net/
TERMUX_PKG_DESCRIPTION="A multi-platform program which generates annotated PostScript or HTML calendars in a monthly or yearly format"
# The original calendar PostScript was Copyright (c) 1987 by Patrick Wood
# and Pipeline Associates, Inc. with permission to modify and redistribute.
TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_LICENSE_FILE="doc/ReadMe.txt, COPYRIGHT.moonphase"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=4.11.0
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/pcal/pcal-${TERMUX_PKG_VERSION}.tgz
TERMUX_PKG_SHA256=8406190e7912082719262b71b63ee31a98face49aa52297db96cc0c970f8d207
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_get_source() {
cp $TERMUX_PKG_BUILDER_DIR/COPYRIGHT.moonphase ./
}
termux_step_make() {
make CC="$CC"
}
termux_step_make_install() {
install -Dm700 -t $TERMUX_PREFIX/bin ./exec/pcal
install -Dm700 -T ./doc/pcal.man $TERMUX_PREFIX/share/man/man1/pcal.1
}