contrib/python3-pycryptodome/Pkgfile

18 lines
498 B
Plaintext

# Description: Cryptographic library for Python.
# URL: https://pypi.python.org/pypi/pycryptodome
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-setuptools
name=python3-pycryptodome
version=3.15.0
release=1
source=(https://github.com/Legrandin/pycryptodome/archive/v$version/${name#*-}-$version.tar.gz)
build() {
cd ${name#*-}-$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --root=$PKG --optimize=1
find $PKG -name README.txt -delete
}