[arch-commits] Commit in e-antic (3 files)

Antonio Rojas arojas at archlinux.org
Sat Apr 20 22:19:34 UTC 2019


    Date: Saturday, April 20, 2019 @ 22:19:33
  Author: arojas
Revision: 452493

archrelease: copy trunk to community-x86_64

Added:
  e-antic/repos/
  e-antic/repos/community-x86_64/
  e-antic/repos/community-x86_64/PKGBUILD
    (from rev 452492, e-antic/trunk/PKGBUILD)

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

Copied: e-antic/repos/community-x86_64/PKGBUILD (from rev 452492, e-antic/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2019-04-20 22:19:33 UTC (rev 452493)
@@ -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