[arch-commits] Commit in coin-or-asl/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Wed Feb 2 07:32:07 UTC 2022
Date: Wednesday, February 2, 2022 @ 07:32:07
Author: arojas
Revision: 1122381
archrelease: copy trunk to community-staging-x86_64
Added:
coin-or-asl/repos/community-staging-x86_64/
coin-or-asl/repos/community-staging-x86_64/PKGBUILD
(from rev 1122380, coin-or-asl/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: coin-or-asl/repos/community-staging-x86_64/PKGBUILD (from rev 1122380, coin-or-asl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-02-02 07:32:07 UTC (rev 1122381)
@@ -0,0 +1,30 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=coin-or-asl
+pkgver=2.0.0
+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=('b617b6d46a2722189dedef7c8013f7e21ebe677fe34cc6b62fabb1639fd3a96d'
+ '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
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list