37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
20 lines
709 B
Bash
20 lines
709 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/github/cmark
|
|
TERMUX_PKG_DESCRIPTION="CommonMark parsing and rendering program"
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=0.29.0.gfm.0
|
|
TERMUX_PKG_REVISION=2
|
|
TERMUX_PKG_SRCURL=https://github.com/github/cmark/archive/${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=6a94aeaa59a583fadcbf28de81dea8641b3f56d935dda5b2447a3c8df6c95fea
|
|
TERMUX_PKG_BREAKS="cmark-dev"
|
|
TERMUX_PKG_REPLACES="cmark-dev"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_INSTALL_LIBDIR=$TERMUX_PREFIX/lib"
|
|
|
|
termux_step_post_make_install() {
|
|
cd $TERMUX_PREFIX/bin
|
|
ln -f -s cmark-gfm cmark
|
|
|
|
cd $TERMUX_PREFIX/share/man/man1
|
|
ln -f -s cmark-gfm.1 cmark.1
|
|
}
|