# Description: python module for opening DBF files # URL: https://github.com/olemb/dbfread # Maintainer: John McQuah, jmcquah at disroot dot org # Depends on: python3-setuptools name=python3-dbfread version=2.0.7 release=1 source=(https://github.com/olemb/${name##python3-}/archive/refs/tags/$version.tar.gz) renames=($name-$version.tar.gz) build() { cd ${name#*-}-$version /usr/bin/python3 setup.py build /usr/bin/python3 setup.py install --skip-build \ --optimize=1 --prefix=/usr --root=$PKG }