upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / coin-or-osi / repos / community-x86_64 / PKGBUILD
blob09cc7bf2a560f300988babd6e872b676a534fadc
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 pkgname=coin-or-osi
4 pkgver=0.108.8
5 pkgrel=1
6 pkgdesc='COIN-OR Open Solver Interface'
7 arch=(x86_64)
8 url='https://github.com/coin-or/Osi'
9 license=(EPL)
10 groups=(coin-or)
11 depends=(coin-or-coinutils)
12 makedepends=(gcc-fortran)
13 source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Osi/archive/refs/tags/releases/$pkgver.tar.gz)
14 sha256sums=('8b01a49190cb260d4ce95aa7e3948a56c0917b106f138ec0a8544fadca71cf6a')
16 build() {
17   cd Osi-releases-$pkgver
18   ./configure --prefix=/usr --enable-dependency-linking \
19               --with-coinutils-lib="$(pkg-config --libs coinutils)" \
20               --with-coinutils-incdir="/usr/include/coin/"
21   make
24 package() {
25   cd Osi-releases-$pkgver
26   make DESTDIR="$pkgdir" install