[arch-commits] Commit in e-antic/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Jul 23 16:08:44 UTC 2021
Date: Friday, July 23, 2021 @ 16:08:44
Author: arojas
Revision: 984524
archrelease: copy trunk to community-staging-x86_64
Added:
e-antic/repos/community-staging-x86_64/
e-antic/repos/community-staging-x86_64/PKGBUILD
(from rev 984523, e-antic/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: e-antic/repos/community-staging-x86_64/PKGBUILD (from rev 984523, e-antic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2021-07-23 16:08:44 UTC (rev 984524)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=e-antic
+pkgver=1.0.1
+pkgrel=3
+pkgdesc='Embedded algebraic number fields (on top of antic)'
+arch=(x86_64)
+url='https://github.com/flatsurf/e-antic/'
+license=(LGPL)
+depends=(arb antic)
+makedepends=(boost)
+source=(https://github.com/flatsurf/e-antic/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('9ae24ffd55b3046c6db5af253574c1ee734751f20ceb2f123b47f69fac031f31')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --without-benchmark \
+ --without-byexample \
+ --without-pytest \
+ --without-doc
+# https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libeantic/libtool
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+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