Created
June 3, 2014 04:00
-
-
Save ivan-krukov/5fd8a4858b79a029d0bc to your computer and use it in GitHub Desktop.
Armadillo 4.300.8 Arch Linux AUR PKGBIULD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Lucas Hermann Negri <[email protected]> | |
# 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