diff options
author | X2b | 2023-10-30 15:51:03 +0100 |
---|---|---|
committer | X2b | 2023-10-30 15:51:03 +0100 |
commit | 20812d18238cc097d41dc09145dd770e4391f08d (patch) | |
tree | bd30487bf3bc9b62cfddc58afd8fc762fd24f66f | |
parent | b384c079ff3f7962f8060321c12f6e46dbe76947 (diff) | |
download | aur-highs-git.tar.gz |
Update versions / PKGBUILD
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 11 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = highs-git pkgdesc = Linear optimization software (Git version) - pkgver = r1685.074d658 + pkgver = r8589.624bc58d3 pkgrel = 1 url = https://github.com/ERGO-Code/HiGHS arch = i686 @@ -9,10 +9,10 @@ pkgbase = highs-git makedepends = cmake makedepends = git depends = gcc-libs + depends = zlib provides = highs conflicts = highs - source = git+git://github.com/ERGO-Code/HiGHS.git + source = git+https://github.com/ERGO-Code/HiGHS.git sha1sums = SKIP pkgname = highs-git - @@ -4,15 +4,15 @@ pkgname=highs-git pkgrel=1 pkgdesc="Linear optimization software (Git version)" arch=('i686' 'x86_64') -pkgver=r1685.074d658 +pkgver=r8589.624bc58d3 _pkgname=HiGHS url="https://github.com/ERGO-Code/HiGHS" license=('MIT') -depends=('gcc-libs') +depends=('gcc-libs' 'zlib') makedepends=('cmake' 'git') provides=('highs') conflicts=('highs') -source=("git+git://github.com/ERGO-Code/HiGHS.git") +source=("git+https://github.com/ERGO-Code/HiGHS.git") sha1sums=('SKIP') pkgver() { @@ -25,21 +25,20 @@ prepare() { mkdir -p "build" cd "build" - cmake "$srcdir/${pkgname%-git}" \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - .. + cmake \ + -DCMAKE_EXE_LINKER_FLAGS=$LDFLAGS \ + -DCMAKE_SHARED_LINKER_FLAGS=$LDFLAGS \ + -DCMAKE_INSTALL_PREFIX=/usr \ + .. } build() { cd "$srcdir/${_pkgname}/build" - make } check() { cd "$srcdir/${_pkgname}/build" - make test } |