Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Armadillo 4.300.8 Arch Linux AUR PKGBIULD

View Armadillo-Arch-PKGBUILD.sh
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
# 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
Something went wrong with that request. Please try again.