PKGBUILDs/community/libsemigroups/PKGBUILD

30 lines
770 B
Bash
Raw Normal View History

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
2020-01-13 19:13:22 +00:00
pkgver=1.0.5
pkgrel=1
2019-11-28 15:49:54 +00:00
pkgdesc="C++ library for semigroups and monoids"
url="https://libsemigroups.github.io/libsemigroups/"
arch=(x86_64)
license=(GPL3)
depends=(gcc-libs)
makedepends=(fmt)
2020-01-12 02:38:33 +00:00
source=(https://github.com/libsemigroups/libsemigroups/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz)
2020-01-13 19:13:22 +00:00
sha256sums=('00ab929c49866e12b18e61309a6f8f3bcdb1c9a59f1c30a8a8e8a8da4065dd8a')
2019-11-28 15:49:54 +00:00
2020-01-12 02:38:33 +00:00
build() {
2019-11-28 15:49:54 +00:00
cd $pkgname-$pkgver
sed -i 's/-mavx//g' configure.ac Makefile.am
autoreconf -fi
2020-01-12 02:38:33 +00:00
./configure --prefix=/usr --with-external-fmt
2019-11-28 15:49:54 +00:00
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
}