Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Armadillo 4.300.8 Arch Linux AUR PKGBIULD
# Maintainer: Lucas Hermann Negri <lucashnegri@gmail.com>
# Contributor: shacristo
pkgname=armadillo
pkgver=4.300.8
pkgrel=1
pkgdesc="C++ linear algebra library"
arch=('i686' 'x86_64')
url="http://arma.sourceforge.net/"
license=('MPL 2.0')
depends=('lapack' 'blas' 'boost')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/sourceforge/arma/$pkgname-$pkgver.tar.gz")
md5sums=('7274feb04dc319dce2dc8ed17d647a56')
build() {
cd "${srcdir}/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
make DESTDIR="${pkgdir}" install
install -D -m644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.