diff options
author | Tyler Veness | 2016-07-30 00:38:47 -0700 |
---|---|---|
committer | Tyler Veness | 2016-07-30 00:38:47 -0700 |
commit | 6625ef0de8e854971fa9561fa089790196757475 (patch) | |
tree | decfaa40f0c01e6753336de78330cb18f48cf171 | |
download | aur-6625ef0de8e854971fa9561fa089790196757475.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..dcad4c88739a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = arm-frc-linux-gnueabi-eigen + pkgdesc = Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra (arm-frc-linux-gnueabi) + pkgver = 3.2.0 + pkgrel = 1 + url = http://eigen.tuxfamily.org + arch = any + license = GPL3 + license = LGPL2.1 + license = BSD + license = custom:MPL2 + license = custom:MINPACK + source = http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libeigen-dev_3.2.0-r0.10_cortexa9-vfpv3.ipk + sha1sums = 732807de0cddada32a8262f8b91bcaf49b564ae2 + +pkgname = arm-frc-linux-gnueabi-eigen + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dde8c8f3ab3a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Tyler Veness <calcmogul at gmail dot com> + +_target="arm-frc-linux-gnueabi" +pkgname=${_target}-eigen +pkgver=3.2.0 +_basever=3.2.0-r0.10 +pkgrel=1 +pkgdesc="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra (${_target})" +arch=('any') +url='http://eigen.tuxfamily.org' +license=('GPL3' 'LGPL2.1' 'BSD' 'custom:MPL2' 'custom:MINPACK') +source=("http://download.ni.com/ni-linux-rt/feeds/2015/arm/ipk/cortexa9-vfpv3/libeigen-dev_${_basever}_cortexa9-vfpv3.ipk") +sha1sums=('732807de0cddada32a8262f8b91bcaf49b564ae2') + +package() { + cd "${srcdir}" + for file in *.ipk; do + ar x $file + tar xf data.tar.gz + done + + mkdir -p ${pkgdir}/usr/${_target} + find . \( -name .install -o -name ..install.cmd \) -delete + cp -r usr ${pkgdir}/usr/${_target} +} |