[arch-commits] Commit in cauchy/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 08:24:25 UTC 2020


    Date: Tuesday, May 19, 2020 @ 08:24:24
  Author: felixonmars
Revision: 386285

archrelease: copy trunk to staging-x86_64

Added:
  cauchy/repos/staging-x86_64/
  cauchy/repos/staging-x86_64/PKGBUILD
    (from rev 386281, cauchy/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: cauchy/repos/staging-x86_64/PKGBUILD (from rev 386281, cauchy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 08:24:24 UTC (rev 386285)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=cauchy
+pkgver=0.9.0
+pkgrel=3
+arch=(x86_64)
+pkgdesc="A library for transforming Matlab/Octave files to C++ (with Eigen) and Matlab"
+url="https://bitbucket.org/cyrille/cauchy"
+license=(GPL2)
+depends=(gcc-libs)
+makedepends=(cmake eigen)
+source=($pkgname-$pkgver.tar.bz2::"https://bitbucket.org/cyrille/cauchy/get/v$pkgver.tar.bz2")
+sha256sums=('7a0cd9ef17190c09f271454b0e698e2e82172ce9efb9ef662e4f7134863d9b56')
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../cyrille-cauchy-* \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list