# Maintainer: Mick Elliot # Contributor: Mick Elliot pkgname=armadillo sfname=arma pkgver=14.2.1 pkgrel=1 pkgdesc="C++ library for linear algebra & scientific computing" arch=('x86_64') url="http://${sfname}.sourceforge.net/" license=('Apache-2.0') depends=(openblas lapack) makedepends=(cmake) source=("http://sourceforge.net/projects/${sfname}/files/${pkgname}-${pkgver}.tar.xz") sha256sums=('2495815cf9d130f70fffb6a12733d0dcaf86cbaac51e8b4b82ad25183eda1dd5') build() { cd "${pkgname}-${pkgver}" cmake . -DCMAKE_INSTALL_PREFIX="/usr" make } package() { cd "${pkgname}-${pkgver}" make DESTDIR=${pkgdir} install install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }