Files
ports/core/python2-pycryptodome/spkgbuild
2020-04-13 14:53:21 +08:00

14 lines
348 B
Plaintext

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