From 860c06333e0d94b6df1285879f963348d36d3411 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Thu, 13 Sep 2018 12:13:43 +0000 Subject: [PATCH] extra/intel-tbb to 2019-1 --- extra/intel-tbb/PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/extra/intel-tbb/PKGBUILD b/extra/intel-tbb/PKGBUILD index c5e9116fc..3b783c266 100644 --- a/extra/intel-tbb/PKGBUILD +++ b/extra/intel-tbb/PKGBUILD @@ -1,4 +1,3 @@ -# $Id$ # Maintainer: # Contributor: Stéphane Gaudreault # Contributor: Thomas Dziedzic < gostrc at gmail > @@ -11,8 +10,7 @@ buildarch=12 pkgname=intel-tbb -pkgver=2018_20180618 -_pkgver=2018_U5 +pkgver=2019 _file=${_tag}_src.tgz pkgrel=1 pkgdesc='High level abstract threading library' @@ -20,18 +18,18 @@ arch=(x86_64) url='http://www.threadingbuildingblocks.org/' license=(GPL) depends=(gcc-libs) -source=(https://github.com/01org/tbb/archive/$_pkgver.tar.gz) -sha256sums=('c4c2896af527392496c5e01ef8579058a71b6eebbd695924cd138841c13f07be') +source=($pkgname-$pkgver.tar.gz::https://github.com/01org/tbb/archive/$pkgver.tar.gz) +sha256sums=('4d149895826cea785cd3b9a14f4aa743b6ef0df520eca7ee27d438fdc3d73399') build() { - cd tbb-$_pkgver + cd tbb-$pkgver [[ $CARCH == "armv7h" ]] && CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=0" [[ $CARCH == "aarch64" ]] && CXXFLAGS+=" -DTBB_USE_GCC_BUILTINS=1 -D__TBB_64BIT_ATOMICS=1" make } package() { - cd tbb-$_pkgver + cd tbb-$pkgver install -d "$pkgdir"/usr/lib install -m755 build/linux_*/*.so* "$pkgdir"/usr/lib install -d "$pkgdir"/usr/include