### this file is sourced not run
PKGVER=2024.01.06

PKGBUILD=1
PKGARCH=x86_64

# source: step
VERSION=0.30.3+31 # hash7 is 31st commit after tag 0.30.3 committed on 2024-01-06
hash=01e572dfe480330887715f674ebd9bc267e3816f
hash7=${hash#???????}; hash7=${hash%"$hash7"}
TARBALL=cmark-$PKGVER-${hash7}.tar.gz SRC_URL=https://github.com/commonmark/cmark/archive/${hash}.tar.gz
#TARBALL=cmark-$PKGVER.tar.gz          SRC_URL=https://github.com/commonmark/cmark/archive/refs/tags/v${PKGVER}.tar.gz
MD5SUM=b868b805c78ec580938e40314be9952f
BUNDLE=

SLACKREQ=''
SLACKDESC="cmark: cmark $PKGVER $VERSION $hash7 (markdown library and converter)
cmark:
cmark: CommonMark parsing and rendering library and program in C.
cmark:
cmark:
cmark:
cmark:
cmark: https://github.com/commonmark/cmark
cmark:
cmark:
cmark:
"
SLACKSUG='cmark-gfm'

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CMAKEFLAGS="$CMAKEFLAGS -DCMARK_STATIC=OFF -DCMARK_SHARED=ON"
	pkg_build_cmake &&
	pkg_build_slackdesc
}

# vim:ft=sh:
