[arch-commits] Commit in coin-or-coinutils/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Jan 8 18:36:49 UTC 2022


    Date: Saturday, January 8, 2022 @ 18:36:49
  Author: arojas
Revision: 1097282

Update to 2.11.5

Modified:
  coin-or-coinutils/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-08 18:35:12 UTC (rev 1097281)
+++ PKGBUILD	2022-01-08 18:36:49 UTC (rev 1097282)
@@ -3,20 +3,20 @@
 # Derived from Daniel Ehlers'
 
 pkgname=coin-or-coinutils
-pkgver=2.11.4
+pkgver=2.11.5
 pkgrel=1
-pkgdesc="COIN-OR collection of utility classes"
+pkgdesc='COIN-OR collection of utility classes'
 arch=(x86_64)
-url="https://projects.coin-or.org/CoinUtils"
+url='https://github.com/coin-or/CoinUtils'
 license=(EPL)
-depends=(zlib bzip2 glpk lapack)
+depends=(zlib bzip2 glpk lapack coin-or-data-sample)
 makedepends=(gcc-fortran doxygen)
 groups=(coin-or)
-source=("https://www.coin-or.org/download/source/CoinUtils/CoinUtils-$pkgver.tgz")
-sha256sums=('1b24f8f6057661b3225d24f4e671527f53bf13aff66e06cbbbd4f20cc7d31dce')
+source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/CoinUtils/archive/refs/tags/releases/$pkgver.tar.gz)
+sha256sums=('9a6d03b2c9bf6232b05e053c32e6f0b49bc418ed537cc1915bdd72361111d609')
 
 build() {
-  cd CoinUtils-$pkgver
+  cd CoinUtils-releases-$pkgver
 
   ./configure --prefix=/usr --with-blas-lib='-lblas' --with-lapack-lib='-llapack' --with-glpk-lib='-lglpk' --enable-dependency-linking
   make
@@ -23,12 +23,11 @@
 }
 
 check() {
-  cd CoinUtils-$pkgver
+  cd CoinUtils-releases-$pkgver
   make test
 }
 
 package() {
-  cd CoinUtils-$pkgver
-  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  cd CoinUtils-releases-$pkgver
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list