mirror of
https://github.com/BioArchLinux/Packages.git
synced 2025-03-10 12:02:42 +00:00
Added armadillo
This commit is contained in:
parent
e1ae3e69ad
commit
f076940e6d
3 changed files with 51 additions and 0 deletions
30
BioArchLinux/armadillo/PKGBUILD
Normal file
30
BioArchLinux/armadillo/PKGBUILD
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Maintainer: Mick Elliot <m.g.elliot@rug.nl>
|
||||
# Contributor: Mick Elliot <m.g.elliot@rug.nl>
|
||||
|
||||
pkgname=armadillo
|
||||
sfname=arma
|
||||
pkgver=10.8.0
|
||||
pkgrel=1
|
||||
pkgdesc="C++ library for linear algebra & scientific computing"
|
||||
arch=('x86_64')
|
||||
url="http://${sfname}.sourceforge.net/"
|
||||
license=('Apache')
|
||||
depends=(openblas lapack)
|
||||
makedepends=()
|
||||
optdepends=()
|
||||
provides=()
|
||||
source=("http://sourceforge.net/projects/${sfname}/files/${pkgname}-${pkgver}.tar.xz")
|
||||
|
||||
sha256sums=('7c5d2fd4bba095733829f7fe03d4a74e732b81c75dd4d40001163487c967d5bc')
|
||||
|
||||
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"
|
||||
}
|
12
BioArchLinux/armadillo/lilac.py
Normal file
12
BioArchLinux/armadillo/lilac.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
from lilaclib import *
|
||||
|
||||
def pre_build():
|
||||
update_pkgver_and_pkgrel(_G.newver.lstrip('v'))
|
||||
run_cmd(['updpkgsums'])
|
||||
|
||||
def post_build():
|
||||
git_add_files('PKGBUILD')
|
||||
git_commit()
|
||||
|
9
BioArchLinux/armadillo/lilac.yaml
Normal file
9
BioArchLinux/armadillo/lilac.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
build_prefix: extra-x86_64
|
||||
maintainers:
|
||||
- github: michaelgelliot
|
||||
email: m.g.elliot@rug.nl
|
||||
update_on:
|
||||
- regex: armadillo-(\d+.\d+.\d+).tar.xz
|
||||
source: regex
|
||||
url: https://sourceforge.net/projects/arma/files/
|
||||
|
Loading…
Add table
Reference in a new issue