* add cauchy

This commit is contained in:
Alexander Baldeck 2024-10-30 17:11:10 +01:00
parent 0c62d5e29f
commit fde1c7ecd2
2 changed files with 46 additions and 0 deletions

19
cauchy/.SRCINFO Normal file
View File

@ -0,0 +1,19 @@
pkgbase = cauchy
pkgdesc = A library for transforming Matlab/Octave files to C++ (with Eigen) and Matlab
pkgver = 0.9.0
pkgrel = 4
url = https://bitbucket.org/cyrille/cauchy
arch = x86_64
arch = powerpc64le
arch = powerpc64
arch = powerpc
arch = riscv64
license = GPL-2.0-or-later
makedepends = cmake
makedepends = eigen
depends = gcc-libs
depends = glibc
source = https://sources.archlinux.org/other/packages/cauchy/cauchy-0.9.0.tar.bz2
sha256sums = 7a0cd9ef17190c09f271454b0e698e2e82172ce9efb9ef662e4f7134863d9b56
pkgname = cauchy

27
cauchy/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Antonio Rojas <arojas@archlinux.org>
pkgname=cauchy
pkgver=0.9.0
pkgrel=4
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
pkgdesc='A library for transforming Matlab/Octave files to C++ (with Eigen) and Matlab'
url='https://bitbucket.org/cyrille/cauchy'
license=(GPL-2.0-or-later)
depends=(gcc-libs
glibc)
makedepends=(cmake
eigen)
#source=($pkgname-$pkgver.tar.bz2::"https://bitbucket.org/cyrille/cauchy/get/v$pkgver.tar.bz2")
source=(https://sources.archlinux.org/other/packages/cauchy/$pkgname-$pkgver.tar.bz2)
sha256sums=('7a0cd9ef17190c09f271454b0e698e2e82172ce9efb9ef662e4f7134863d9b56')
build() {
cmake -B build -S cyrille-cauchy-* \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}