[arch-commits] Commit in coin-or-asl (3 files)

Antonio Rojas arojas at archlinux.org
Wed Apr 8 09:39:13 UTC 2020


    Date: Wednesday, April 8, 2020 @ 09:39:13
  Author: arojas
Revision: 612590

archrelease: copy trunk to community-x86_64

Added:
  coin-or-asl/repos/
  coin-or-asl/repos/community-x86_64/
  coin-or-asl/repos/community-x86_64/PKGBUILD
    (from rev 612589, coin-or-asl/trunk/PKGBUILD)

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

Copied: coin-or-asl/repos/community-x86_64/PKGBUILD (from rev 612589, coin-or-asl/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2020-04-08 09:39:13 UTC (rev 612590)
@@ -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