# Description: Docutils is an open-source text processing system for processing plaintext documentation into useful formats
# URL: https://docutils.sourceforge.io/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools

name=python3-docutils
version=0.20.1
release=1
source=(https://downloads.sourceforge.net/docutils/docutils-$version.tar.gz)

build() {
  cd docutils-$version
  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --prefix=/usr \
    --root=$PKG \
    --skip-build

  find $PKG -iname "*README*" -delete
}
