[arch-commits] Commit in pynac/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Mon Apr 6 20:11:26 UTC 2020
Date: Monday, April 6, 2020 @ 20:11:25
Author: arojas
Revision: 612100
archrelease: copy trunk to community-staging-x86_64
Added:
pynac/repos/community-staging-x86_64/
pynac/repos/community-staging-x86_64/PKGBUILD
(from rev 612099, pynac/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: pynac/repos/community-staging-x86_64/PKGBUILD (from rev 612099, pynac/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-06 20:11:25 UTC (rev 612100)
@@ -0,0 +1,27 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Rémy Oudompheng <oudomphe at clipper.ens.fr>
+
+pkgname=pynac
+pkgver=0.7.26
+pkgrel=3
+pkgdesc="Python version of GiNaC, a C++ library for symbolic mathematical calculations"
+arch=(x86_64)
+url="http://pynac.org"
+license=(GPL)
+depends=(python singular) # giac disabled because of https://trac.sagemath.org/ticket/26427
+source=("https://github.com/pynac/pynac/releases/download/pynac-$pkgver/pynac-$pkgver.tar.bz2")
+sha256sums=('cc124ae9757355e3434ff864aeca6503184faf0642d26bc2f7bca6f3f2c9b50f')
+
+build() {
+ cd pynac-$pkgver
+
+ ./configure --prefix=/usr
+ #https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ make
+}
+
+package() {
+ cd pynac-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list