diff options
author | X2b | 2020-11-12 20:05:01 +0100 |
---|---|---|
committer | X2b | 2020-11-12 20:05:01 +0100 |
commit | c972dda62c8c71ed2e748f98833c836c3eafe791 (patch) | |
tree | 0dcb8e6705621bf5d9b5d9d553df98c3ca0fa761 | |
download | aur-c972dda62c8c71ed2e748f98833c836c3eafe791.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 31 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2e0eb4629634 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = adol-c-git + pkgdesc = ADOL-C automatic differentiation library + pkgver = 20201112 + pkgrel = 1 + url = https://github.com/coin-or/ADOL-C + arch = x86_64 + license = EPL + depends = colpack + depends = boost-libs + provides = adol-c + conflicts = adol-c + source = git+https://github.com/coin-or/ADOL-C + sha1sums = SKIP + +pkgname = adol-c-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f0d6a7d1d5db --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: x2b <psaoj.10.Toranaga-San@spamgourmet.com> + +pkgname=adol-c-git +_pkgname=adol-c +pkgver=20201112 +pkgrel=1 +pkgdesc="ADOL-C automatic differentiation library" +arch=("x86_64") +url="https://github.com/coin-or/ADOL-C" +license=('EPL') +depends=("colpack" "boost-libs") +provides=("adol-c") +conflicts=("adol-c") +source=("git+https://github.com/coin-or/ADOL-C") +sha1sums=("SKIP") + +build() { + cd "ADOL-C" + ./configure --prefix=/usr --libdir=/usr/lib + make +} + +check() { + cd "ADOL-C" + make -k check +} + +package() { + cd "ADOL-C" + make DESTDIR="$pkgdir/" install +} |