summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aa7d55e381401c375648ff3df338b1791b65718b (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
# Maintainer  : Chris Billington <chrisjbillington@gmail.com>
pkgname=intel-mkl-bin
_pkgname=mkl
_pkgver=2019.5
_build=281
pkgver="${_pkgver}.${_build}"
pkgrel=1
pkgdesc="Intel Math Kernel Library - shared libraries and headers only, as distributed by Anaconda"
arch=('x86_64')
url="https://software.intel.com/en-us/mkl"
license=('custom')
provides=('intel-mkl')
conflicts=('intel-mkl')
source=("https://repo.anaconda.com/pkgs/main/linux-64/${_pkgname}-${_pkgver}-${_build}.tar.bz2"
        "https://repo.anaconda.com/pkgs/main/linux-64/mkl-include-${_pkgver}-${_build}.tar.bz2")
sha256sums=('040bed2cb07db1e74b46e2a47fbb31c4173932f05acabfe4433f20549b17cbfc'
            '7c582fa135945bbd92830a18de5f73e587493bfd10e6c7106c9c1e888acc8e18')

package() {
  mkdir "${pkgdir}/usr"
  cp -drp --no-preserve=ownership "${srcdir}/lib" "${pkgdir}/usr/lib"
  cp -drp --no-preserve=ownership "${srcdir}/include" "${pkgdir}/usr/include"
  install -D -m 644 "${srcdir}/info/licenses/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}