[arch-commits] Commit in giac/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Fri Aug 17 19:52:48 UTC 2018
Date: Friday, August 17, 2018 @ 19:52:48
Author: arojas
Revision: 372552
archrelease: copy trunk to community-staging-x86_64
Added:
giac/repos/community-staging-x86_64/
giac/repos/community-staging-x86_64/PKGBUILD
(from rev 372551, giac/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: giac/repos/community-staging-x86_64/PKGBUILD (from rev 372551, giac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-17 19:52:48 UTC (rev 372552)
@@ -0,0 +1,49 @@
+# $Id: PKGBUILD 175037 2016-05-12 15:18:07Z arojas $
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=giac
+pkgname=(xcas libgiac)
+_pkgver=1.4.9-69
+pkgver=${_pkgver//-/.}
+pkgrel=8
+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 mesa)
+source=("http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/${pkgbase}_${_pkgver}.tar.gz")
+sha256sums=('8cb33344c98a3139e16bc45013ec73fa37470d4ca43b5a967866aae35e2f0f91')
+
+prepare() {
+ cd $pkgbase-${pkgver%.*}
+ sed -e '/curlbuild/d' -i src/misc.cc # Remove bogus include
+}
+
+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)
+
+ cd $pkgbase-${pkgver%.*}
+ make DESTDIR="$pkgdir" install
+
+ rm -r "$pkgdir"/usr/{bin,share}
+}
More information about the arch-commits
mailing list