Christoph Reiter 1e7737f090 Drop clang32 for packages without rdepends
See https://github.com/msys2/MINGW-packages/pull/21998
and 89521b9f8d

This is the first batch of removals to start things off.
2024-09-23 07:17:44 +02:00

29 lines
934 B
Bash

# Maintainer: Benjamin Chretien <chretien@lirmm.fr>
# Contributor: Rafal Brzegowy <rafal.brzegowy@yahoo.com>
_realname=cusp
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=0.5.1
pkgrel=2
pkgdesc="A C++ Templated Sparse Matrix Library (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64')
url='https://cusplibrary.github.io/'
license=('Apache')
makedepends=()
#depends=('cuda')
_dir="cusplibrary-${pkgver}"
source=("https://github.com/cusplibrary/cusplibrary/archive/v${pkgver}.tar.gz")
sha256sums=('ea283132caae7a62c96dedb40d0fcff25d3067191411987db9c2d780286a2108')
package() {
cd "${srcdir}/${_dir}"
# Install headers
install -d "${pkgdir}${MINGW_PREFIX}/include/cusp"
cp -r "cusp" "${pkgdir}${MINGW_PREFIX}/include"
install -Dm644 ${srcdir}/${_realname}library-${pkgver}/LICENSE ${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/LICENSE
}