diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 3 deletions
@@ -9,7 +9,9 @@ pkgbase = thrust optdepends = openmp: for OMP backend optdepends = intel-tbb: for TBB backend source = thrust-1.9.10.tar.gz::https://github.com/thrust/thrust/archive/1.9.10.tar.gz - sha256sums = d155dc2a260fe0c75c63c185fa4c4b4c6c5b7c444fcdac7109bb71941c9603f1 + source = cub-1.9.10.tar.gz::https://github.com/thrust/cub/archive/1.9.10.tar.gz + sha256sums = 5071c995a03e97e2bcfe0c5cc265330160316733336bb87dfcea3fc381065316 + sha256sums = 2bd7077a3d9741f0689e6c1eb58c6278fc96eccc27d964168bc8be1bc3a9040f pkgname = thrust @@ -15,14 +15,18 @@ optdepends=( 'intel-tbb: for TBB backend' ) -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thrust/${pkgname}/archive/${pkgver}.tar.gz") -sha256sums=('5071c995a03e97e2bcfe0c5cc265330160316733336bb87dfcea3fc381065316') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/thrust/${pkgname}/archive/${pkgver}.tar.gz" + "cub-${pkgver}.tar.gz::https://github.com/thrust/cub/archive/${pkgver}.tar.gz") +sha256sums=('5071c995a03e97e2bcfe0c5cc265330160316733336bb87dfcea3fc381065316' + '2bd7077a3d9741f0689e6c1eb58c6278fc96eccc27d964168bc8be1bc3a9040f') package() { install -dm 755 "${pkgdir}/opt/${pkgname}" cd "${srcdir}/${pkgname}-${pkgver}" cp -r ${pkgname} "${pkgdir}/opt/${pkgname}/" cp -r examples "${pkgdir}/opt/${pkgname}/" + cd "${srcdir}/cub-${pkgver}" + cp -r cub "${pkgdir}/opt/${pkgname}/" } # vim: ft=sh ts=2 sw=2 et |