# Maintainer: Felix Yan # Contributor: Stéphane Gaudreault # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Denis Martinez # Contributor: Bogdan Burlacu pkgname=intel-tbb pkgver=2019.7 _tagname=${pkgver/./_U} pkgrel=1 pkgdesc='High level abstract threading library' arch=(x86_64) url='https://www.threadingbuildingblocks.org/' license=(GPL) depends=(gcc-libs) source=($pkgname-$pkgver.tar.gz::https://github.com/01org/tbb/archive/$_tagname.tar.gz) sha256sums=('4204a93f4c0fd989fb6f79acae74feb02ee39725c93968773d9b6efeb75c7a6a') build() { cd tbb-$_tagname sed -i '/debug/d' Makefile make } package() { cd tbb-$_tagname install -d "$pkgdir"/usr/lib install -m755 build/linux_*/*.so* "$pkgdir"/usr/lib install -d "$pkgdir"/usr/include cp -a include/tbb "$pkgdir"/usr/include cmake -DINSTALL_DIR="$pkgdir"/usr/lib/cmake/TBB -DSYSTEM_NAME=Linux -DTBB_VERSION_FILE="$pkgdir"/usr/include/tbb/tbb_stddef.h -P cmake/tbb_config_installer.cmake }