Files
ports/main/python2-pycryptodome/spkgbuild
2022-07-15 14:49:40 +02:00

16 lines
381 B
Plaintext

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