summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d2de3a6a0a3e3756a53b276eb9e099f31fffcf3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Guilhem Saurel <saurel@laas.fr>

pkgorg=coin-or
_pkgname=CppAD
pkgname=cppad
pkgver=20180000.0
pkgrel=1
pkgdesc="A C++ Algorithmic Differentiation Package"
arch=('any')
url="https://github.com/$pkgorg/$_pkgname"
license=('GPL2')
depends=()
optdepends=()
makedepends=('cmake')
source=("$url/archive/$pkgver.tar.gz")
sha1sums=('962308a5ea77254f7af8f6b50ab6807dfe6d1122')

build() {
    cd "$_pkgname-$pkgver"
    cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
    make
}

package() {
    cd "$_pkgname-$pkgver"
    make DESTDIR="$pkgdir/" install
}