[arch-commits] Commit in e-antic/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Mon Apr 4 19:42:19 UTC 2022
Date: Monday, April 4, 2022 @ 19:42:18
Author: arojas
Revision: 1181379
archrelease: copy trunk to community-x86_64
Added:
e-antic/repos/community-x86_64/PKGBUILD
(from rev 1181378, e-antic/trunk/PKGBUILD)
Deleted:
e-antic/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 45 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-04 19:42:09 UTC (rev 1181378)
+++ PKGBUILD 2022-04-04 19:42:18 UTC (rev 1181379)
@@ -1,38 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=e-antic
-pkgver=1.1.0
-pkgrel=1
-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=('b914d082c486a9d17cd46b38a55170ba7b1838a2ab8a29f986899d2668f8210e')
-
-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
-}
Copied: e-antic/repos/community-x86_64/PKGBUILD (from rev 1181378, e-antic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-04 19:42:18 UTC (rev 1181379)
@@ -0,0 +1,45 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=e-antic
+pkgver=1.1.1
+pkgrel=1
+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 catch2)
+source=(https://github.com/flatsurf/e-antic/releases/download/$pkgver/$pkgname-$pkgver.tar.gz)
+sha256sums=('2d178ae9641c07ca9a5fb4ee0739e0db1a0b6c627543bf7e3472504174bf996d')
+
+prepare() {
+ cd $pkgname-$pkgver
+# Unbundle catch2 to fix build with glibc 2.35
+ rm -r libeantic/test/external/catch2/single_include/catch2
+ ln -s /usr/include/catch2 libeantic/test/external/catch2/single_include
+}
+
+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 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list