2018-08-20 21:08:09 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/github/cmark
|
2017-01-25 01:34:20 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="CommonMark parsing and rendering program"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-09-16 20:09:25 +02:00
|
|
|
TERMUX_PKG_VERSION=0.29.0.gfm.2
|
2020-01-13 02:00:07 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/github/cmark/archive/${TERMUX_PKG_VERSION}.tar.gz
|
2021-09-16 20:09:25 +02:00
|
|
|
TERMUX_PKG_SHA256=66d92c8bef533744674c5b64d8744227584b12704bcfebbe16dab69f81e62029
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="cmark-dev"
|
|
|
|
TERMUX_PKG_REPLACES="cmark-dev"
|
2017-10-14 21:20:57 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_INSTALL_LIBDIR=$TERMUX_PREFIX/lib"
|
2018-09-11 21:50:47 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|