cruxports/python3-agate-dbf/Pkgfile

20 lines
570 B
Plaintext

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