Files
ports/extra/python2-pycryptodome/spkgbuild
2018-05-01 22:35:16 +08:00

15 lines
390 B
Plaintext

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