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

Antonio Rojas arojas at archlinux.org
Wed Apr 8 09:38:26 UTC 2020


    Date: Wednesday, April 8, 2020 @ 09:38:25
  Author: arojas
Revision: 612589

New coin-or-cbc dependency

Added:
  coin-or-asl/
  coin-or-asl/trunk/
  coin-or-asl/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Added: coin-or-asl/trunk/PKGBUILD
===================================================================
--- coin-or-asl/trunk/PKGBUILD	                        (rev 0)
+++ coin-or-asl/trunk/PKGBUILD	2020-04-08 09:38:25 UTC (rev 612589)
@@ -0,0 +1,31 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=coin-or-asl
+pkgver=1.4.3
+pkgrel=1
+pkgdesc="COIN-OR autotools harness to build AMPL Solver Library"
+arch=(x86_64)
+url="https://github.com/coin-or-tools/ThirdParty-ASL/"
+license=(MIT)
+groups=(coin-or)
+depends=(glibc)
+source=($pkgname-$pkgver.tar.gz::"https://github.com/coin-or-tools/ThirdParty-ASL/archive/releases/$pkgver.tar.gz"
+        https://coin-or-tools.github.io/ThirdParty-ASL/solvers-64919f75f.tgz)
+sha256sums=('0a4cfa7c6c5df72d8e1c4c3ce74633421f807115a679e85cb5569c41df9a9aaf'
+            'e212926d1d797701adc901ef18eaab6b15edd13f9281dd8c9266e3cdaf8c2dd3')
+
+prepare() {
+  cd ThirdParty-ASL-releases-$pkgver
+  ln -s ../solvers .
+}
+
+build() {
+  cd ThirdParty-ASL-releases-$pkgver
+  ./configure --prefix=/usr --srcdir="$PWD"
+  make
+}
+package() {
+  cd ThirdParty-ASL-releases-$pkgver
+  PKG_CONFIG_LIBDIR="$pkgdir"/usr/lib/pkgconfig/ \
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list