# Maintainer: PktSurf <smlinux@pktsurf.in>
app=python-markdown
version=3.3.4
build=1sml
homepage="https://github.com/Python-Markdown/markdown"
desc="Python Markdown Library"
requires="python3 python-setuptools"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf Markdown-$version

  tar xf $srcdir/Markdown-$version.tar.?z*
  cd Markdown-$version
  fixbuilddirpermissions
}

build() {
  python3 setup.py install --prefix="" --root=$pkg
  cp LICENSE.md $pkgdocs/

  mkfinalpkg
}

sha512sums="
37422619dd8f542bfcf7975c92e76a39e4eeeb42386727d52037869cee1617f8efcb74a382a9c7cb903907ebf3643a27ba0de583bc0dbd327a36e72bbf8520af  Markdown-3.3.4.tar.gz
"
