summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b7593fd0d4298f0d19879c6dcb443fbf701d482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Jingbei Li <i@jingbei.li>
pkgname=python-mkl-service
_pkgname=mkl-service
pkgver=2.4.1
pkgrel=1
pkgdesc="Python hooks for Intel(R) Math Kernel Library runtime control settings."
arch=('x86_64')
url="https://github.com/IntelPython/mkl-service"
license=('custom')
depends=('intel-oneapi-mkl' 'python-numpy')
makedepends=('cython' 'git' 'python-setuptools')
source=("git+$url#tag=v${pkgver}")
md5sums=('SKIP')

build() {
  cd "$srcdir/${_pkgname}"
  python setup.py build
}

package() {
  cd "$srcdir/${_pkgname}"
  python setup.py install --root="$pkgdir"/ --optimize=1
  install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

# vim:set ts=2 sw=2 et: