2019-11-28 15:49:54 +00:00
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - strip -mavx from configure and Makefile
|
|
|
|
|
|
|
|
pkgname=libsemigroups
|
2019-11-29 18:38:36 +00:00
|
|
|
pkgver=1.0.1
|
2019-11-28 15:49:54 +00:00
|
|
|
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
|
|
|
|
system-fmt.patch)
|
2019-11-29 18:38:36 +00:00
|
|
|
sha256sums=('08a4a678d08324a29bd9e0000803d18a1d5134d7f9928ec56bd72071d9740164'
|
2019-11-28 15:49:54 +00:00
|
|
|
'86c0ae8613df2959924d86c16874ee8d72288b10f87225c3909132b1d2a83fdf')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
patch -p1 -i ../system-fmt.patch
|
|
|
|
rm -r extern/fmt-*
|
|
|
|
sed -i 's/-mavx//g' configure.ac Makefile.am
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|