# Maintainer: Antonio Rojas # ALARM: Kevin Mihelich # - strip -mavx from configure and Makefile pkgname=libsemigroups pkgver=1.0.5 pkgrel=1 pkgdesc="C++ library for semigroups and monoids" url="https://libsemigroups.github.io/libsemigroups/" arch=(x86_64) license=(GPL3) depends=(gcc-libs) makedepends=(fmt) source=(https://github.com/libsemigroups/libsemigroups/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz) sha256sums=('00ab929c49866e12b18e61309a6f8f3bcdb1c9a59f1c30a8a8e8a8da4065dd8a') build() { cd $pkgname-$pkgver sed -i 's/-mavx//g' configure.ac Makefile.am autoreconf -fi ./configure --prefix=/usr --with-external-fmt make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }