Files
ports/extra/python3-pycryptodome/spkgbuild
2018-10-08 21:58:15 +08:00

15 lines
380 B
Plaintext

# description : Cryptographic library for Python
# depends : python3
name=python3-pycryptodome
version=3.6.6
release=1
source=(https://files.pythonhosted.org/packages/source/${name:8:1}/${name#*-}/${name#*-}-$version.tar.gz)
md5sum=(d1985af0eedaaba4e0ab35ea5fd09a0a)
build() {
cd ${name#*-}-$version
python3 setup.py build
python3 setup.py install --root=$PKG --optimize=1
}