# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=python-dlib _pkgname=dlib pkgver=19.24.6 pkgrel=1 pkgdesc='A toolkit for making real world machine learning and data analysis applications.' arch=('x86_64' 'aarch64') url='https://pypi.org/project/dlib/#files' license=('custom:unknown') depends=('python') makedepends=('python-setuptools' 'cmake') source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz") sha512sums=('9bc799a411fdf979e89986b6553e232b510681104c6cde0dccba07f07cc50df97551ad5657c4869b884c974195f5d68138098fccf0252aa4831074ffef2dbda1') build() { cd "$_pkgname-$pkgver" python setup.py build } package() { cd "$_pkgname-$pkgver" python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }