cruxports/python3-olefile/Pkgfile

20 lines
539 B
Plaintext
Raw Normal View History

2022-02-18 17:40:09 -05:00
# 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
2024-02-07 09:20:57 -05:00
version=0.47
2022-02-18 17:40:09 -05:00
release=1
source=(https://github.com/decalage2/${name##python3-}/archive/refs/tags/v$version.tar.gz)
renames=($name-$version.tar.gz)
build() {
2024-02-07 09:20:57 -05:00
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
2022-02-18 17:40:09 -05:00
2024-02-07 09:20:57 -05:00
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
2022-02-18 17:40:09 -05:00
}