mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
770 B
Bash
29 lines
770 B
Bash
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - 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
|
|
}
|