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

Antonio Rojas arojas at gemini.archlinux.org
Thu Jan 13 07:48:09 UTC 2022


    Date: Thursday, January 13, 2022 @ 07:48:07
  Author: arojas
Revision: 1101796

Update to 0.60.4

Modified:
  coin-or-cgl/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++------------------
 1 file changed, 9 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-13 07:44:15 UTC (rev 1101795)
+++ PKGBUILD	2022-01-13 07:48:07 UTC (rev 1101796)
@@ -3,38 +3,29 @@
 # Contributor: Daniel Ehlers <danielehlers at mindeye.net>
 
 pkgname=coin-or-cgl
-pkgver=0.60.3
+pkgver=0.60.4
 pkgrel=1
-pkgdesc="COIN-OR Cut Generation Library"
+pkgdesc='COIN-OR Cut Generation Library'
 arch=(x86_64)
-url="https://projects.coin-or.org/Cgl"
+url='https://github.com/coin-or/Cgl'
 license=(EPL)
 groups=(coin-or)
 depends=(coin-or-clp)
-source=("https://www.coin-or.org/download/source/Cgl/Cgl-${pkgver}.tgz")
-sha256sums=('cf11e3476d2182040cec412abb232d8bafa12ff5b619eca3b7b9ac1d220476c8')
+source=($pkgname-$pkgver.tar.gz::https://github.com/coin-or/Cgl/archive/refs/tags/releases/$pkgver.tar.gz)
+sha256sums=('57db498a0b7e1f3614ca061a93b23dc7e65017f092457c7366fa7d78397b5657')
 
 build() {
-  cd Cgl-$pkgver/Cgl
-  COIN_SKIP_PROJECTS="Sample" \
-  ./configure --prefix=/usr \
-              --with-osi-lib="$(pkg-config --libs osi)" \
-              --with-osi-incdir="/usr/include/coin/" \
-              --with-clp-lib="$(pkg-config --libs clp)" \
-              --with-clp-incdir="/usr/include/coin/" \
-              --with-coinutils-lib="$(pkg-config --libs coinutils)" \
-              --with-coinutils-incdir="/usr/include/coin/" \
-              --enable-dependency-linking
+  cd Cgl-releases-$pkgver
+  ./configure --prefix=/usr
   make
 }
 
 check() {
-  cd Cgl-$pkgver/Cgl
+  cd Cgl-releases-$pkgver
   make test
 }
 
 package() {
-  cd Cgl-$pkgver/Cgl
-  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  cd Cgl-releases-$pkgver
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list