Date: Friday, May 20, 2022 @ 14:35:46 Author: arojas Revision: 1209399
archrelease: copy trunk to community-x86_64 Added: e-antic/repos/community-x86_64/PKGBUILD (from rev 1209398, e-antic/trunk/PKGBUILD) Deleted: e-antic/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-20 14:34:27 UTC (rev 1209398) +++ PKGBUILD 2022-05-20 14:35:46 UTC (rev 1209399) @@ -1,45 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> - -pkgname=e-antic -pkgver=1.2.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 catch2) -source=(https://github.com/flatsurf/e-antic/releases/download/$pkgver/$pkgname-$pkgver.tar.gz) -sha256sums=('2c00fec3601611d7b82a17ce09828ad4689ef28b4be491fc12d8c58c2c1deed8') - -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 -} Copied: e-antic/repos/community-x86_64/PKGBUILD (from rev 1209398, e-antic/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-20 14:35:46 UTC (rev 1209399) @@ -0,0 +1,45 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=e-antic +pkgver=1.2.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=('a7bfb92620fd7e42a06efbe89e011abee88f4fbd99bcec34fd8300ae9b1cf543') + +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 +}