summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore2
-rw-r--r--PKGBUILD9
3 files changed, 13 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c76df952ae9..916a2d3ce1b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = cppad
pkgdesc = A C++ Algorithmic Differentiation Package
- pkgver = 20190200.3
+ pkgver = 20200000.2
pkgrel = 1
url = https://github.com/coin-or/CppAD
- arch = any
+ arch = i686
+ arch = x86_64
license = GPL2
makedepends = cmake
- source = https://github.com/coin-or/CppAD/archive/20190200.3.tar.gz
- sha256sums = 5e074ddfe1e022347c32dddfdf72f2d14bff25ab29448c65c15c5ed1b459dbcc
+ depends = gcc-libs
+ source = https://github.com/coin-or/CppAD/archive/20200000.2.tar.gz
+ sha256sums = 1f28951f2d4785aac6ede0138c86b70844560f1ee8f76e61adf82a4c41eb641a
pkgname = cppad
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..9d982c9aff9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+src
+pkg
diff --git a/PKGBUILD b/PKGBUILD
index 663565c5594..f288e46d3bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,17 +3,17 @@
pkgorg=coin-or
_pkgname=CppAD
pkgname=cppad
-pkgver=20190200.3
+pkgver=20200000.2
pkgrel=1
pkgdesc="A C++ Algorithmic Differentiation Package"
-arch=('any')
+arch=('i686' 'x86_64')
url="https://github.com/$pkgorg/$_pkgname"
license=('GPL2')
-depends=()
+depends=('gcc-libs')
optdepends=()
makedepends=('cmake')
source=("$url/archive/$pkgver.tar.gz")
-sha256sums=('5e074ddfe1e022347c32dddfdf72f2d14bff25ab29448c65c15c5ed1b459dbcc')
+sha256sums=('1f28951f2d4785aac6ede0138c86b70844560f1ee8f76e61adf82a4c41eb641a')
build() {
cd "$_pkgname-$pkgver"
@@ -24,4 +24,5 @@ build() {
package() {
cd "$_pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
+ rmdir $pkgdir/usr/include/cppad/{local/,}CMakeFiles
}