[arch-commits] Commit in (e-antic e-antic/trunk e-antic/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Apr 20 22:19:04 UTC 2019
Date: Saturday, April 20, 2019 @ 22:19:04
Author: arojas
Revision: 452492
New normaliz dependency
Added:
e-antic/
e-antic/trunk/
e-antic/trunk/PKGBUILD
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Added: e-antic/trunk/PKGBUILD
===================================================================
--- e-antic/trunk/PKGBUILD (rev 0)
+++ e-antic/trunk/PKGBUILD 2019-04-20 22:19:04 UTC (rev 452492)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=e-antic
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="Embedded algebraic number fields (on top of antic)"
+arch=(x86_64)
+url="https://github.com/videlec/e-antic"
+license=(LGPL)
+depends=(arb)
+makedepends=()
+source=(http://www.labri.fr/perso/vdelecro/e-antic/$pkgname-$pkgver.tar.gz)
+sha256sums=('47d30a860fe8153c5f8acea9f9cbfa12319689e54086616c9fd07f17400c153e')
+
+build() {
+ cd $pkgname-$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 $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 "$srcdir"/$pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list