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

Felix Yan felixonmars at archlinux.org
Sat Aug 24 21:45:22 UTC 2019


    Date: Saturday, August 24, 2019 @ 21:45:21
  Author: felixonmars
Revision: 501580

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: giac/repos/community-staging-x86_64/PKGBUILD (from rev 501579, giac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-08-24 21:45:21 UTC (rev 501580)
@@ -0,0 +1,43 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=giac
+pkgname=(xcas libgiac)
+_pkgver=1.5.0-63
+pkgver=${_pkgver//-/.}
+pkgrel=2
+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