# $Id: PKGBUILD 215494 2014-06-26 20:41:37Z eric $ # Maintainer: Stéphane Gaudreault # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Denis Martinez pkgname=intel-tbb pkgver=4.2_20140601 pkgrel=1 pkgdesc='High level abstract threading library' arch=('i686' 'x86_64') url='http://www.threadingbuildingblocks.org/' license=('GPL') depends=('gcc-libs') source=("http://threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb${pkgver/\./}oss_src.tgz") sha1sums=('f50c04a27f5e37c920a03be134dc57ccf909515d') build() { cd tbb${pkgver/\./}oss make } package() { cd tbb${pkgver/\./}oss 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 }