[arch-commits] Commit in giac/repos (2 files)

Antonio Rojas arojas at archlinux.org
Sat Sep 7 22:55:12 UTC 2019


    Date: Saturday, September 7, 2019 @ 22:55:11
  Author: arojas
Revision: 508537

archrelease: copy trunk to community-staging-x86_64

Added:
  giac/repos/community-staging-x86_64/
  giac/repos/community-staging-x86_64/PKGBUILD
    (from rev 508536, giac/trunk/PKGBUILD)

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

Copied: giac/repos/community-staging-x86_64/PKGBUILD (from rev 508536, giac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-09-07 22:55:11 UTC (rev 508537)
@@ -0,0 +1,43 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=giac
+pkgname=(xcas libgiac)
+_pkgver=1.5.0-63
+pkgver=${_pkgver//-/.}
+pkgrel=4
+pkgdesc="A free computer algebra system"
+arch=(x86_64)
+url="http://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
+license=(GPL3)
+makedepends=(mpfi gsl pari ntl lapack libpng libjpeg fltk texlive-core texlive-science hevea glpk libao gmp-ecm)
+source=("http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgbase}_${_pkgver}.tar.gz")
+sha256sums=('1373eae7850cd40a7005aef534fd84dd05bc5a435f0064a1331c49743d57e7ca')
+
+build() {
+  cd $pkgbase-${pkgver%.*}
+
+  ./configure --prefix=/usr
+  make
+}
+
+package_xcas() {
+  depends=(libgiac fltk)
+  conflicts=(giac)
+  provides=(giac)
+  replaces=(giac)
+
+  cd $pkgbase-${pkgver%.*}
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/{lib,include}
+}
+
+package_libgiac() {
+  pkgdesc="Giac shared library"
+  depends=(mpfi gsl pari ntl lapack libpng curl glpk libao gmp-ecm)
+
+  cd $pkgbase-${pkgver%.*}
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/{bin,share}
+}



More information about the arch-commits mailing list