# $Id: PKGBUILD 172195 2012-12-02 04:41:05Z stephane $ # Maintainer: Stéphane Gaudreault # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Denis Martinez pkgname=intel-tbb pkgver=4.1_20121003 pkgrel=1 pkgdesc='High level abstract threading library' arch=('i686' 'x86_64' 'mips64el') 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=('072333068fa278635582846eaaa22d51c0100e09') build() { cd "${srcdir}"/tbb${pkgver/\./}oss make } package() { cd "${srcdir}"/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 }