cruxports/python3-olefile/Pkgfile

20 lines
524 B
Plaintext

# Description: python module for opening Microsoft OLE2 files
# URL: https://github.com/decalage2/olefile
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-setuptools
name=python3-olefile
version=0.46
release=1
source=(https://github.com/decalage2/${name##python3-}/archive/refs/tags/v$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
}