cruxports/python3-agate-dbf/Pkgfile

25 lines
690 B
Plaintext
Raw Normal View History

2022-02-18 17:40:09 -05:00
# Description: hooks for accessing DBF files in python3-agate
# URL: https://github.com/wireservice/agate-dbf/
# Maintainer: John McQuah, jmcquah at disroot dot org
2022-04-26 07:51:12 -04:00
# Depends on: python3-agate python3-dbfread
2022-02-18 17:40:09 -05:00
name=python3-agate-dbf
2024-03-09 07:03:32 -05:00
version=0.2.3
2022-02-18 17:40:09 -05:00
release=1
source=(https://github.com/wireservice/${name##python3-}/archive/refs/tags/$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
2024-03-09 07:03:32 -05:00
cd ${name##python3-}-$version
/usr/bin/pip3 install --isolate --root=$PKG --no-deps --ignore-installed .
2022-02-18 17:40:09 -05:00
2024-03-09 07:03:32 -05:00
find $PKG \( \
-iname "COPYING*" -o \
-iname "LICENSE*" -o \
-iname "*README*" -o \
-iname "INSTALLER" -o \
-iname "REQUESTED" \
\) -delete
chmod -R g-w $PKG
2022-02-18 17:40:09 -05:00
}