[arch-commits] Commit in (cauchy cauchy/trunk cauchy/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Jan 3 12:25:34 UTC 2017
Date: Tuesday, January 3, 2017 @ 12:25:34
Author: arojas
Revision: 285236
Add cauchy, calligra dependency
Added:
cauchy/
cauchy/trunk/
cauchy/trunk/PKGBUILD
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Added: cauchy/trunk/PKGBUILD
===================================================================
--- cauchy/trunk/PKGBUILD (rev 0)
+++ cauchy/trunk/PKGBUILD 2017-01-03 12:25:34 UTC (rev 285236)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=cauchy
+pkgver=0.9.0
+pkgrel=1
+arch=(i686 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