summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKristóf Zsolt Szalay2017-11-16 17:57:08 +0100
committerKristóf Zsolt Szalay2017-11-16 17:57:08 +0100
commit4d3a1b883cab8878fcae70b323707ded1a0205c3 (patch)
tree2b10837ec60b1c6ad8cf0d9341d4fb0c228b75b3 /PKGBUILD
downloadaur-4d3a1b883cab8878fcae70b323707ded1a0205c3.tar.gz
Adding package
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..3326ce449a1a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Kristof Szalay <krszalay at gmail dot com>
+pkgname=adol-c
+pkgver=2.6.3
+pkgrel=1
+epoch=
+pkgdesc="ADOL-C automatic differentiation library"
+arch=("x86_64")
+url="https://projects.coin-or.org/ADOL-C"
+license=('EPL')
+groups=()
+depends=()
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+source=("https://www.coin-or.org/download/source/ADOL-C/ADOL-C-$pkgver.tgz")
+noextract=()
+sha1sums=("d65e4d1ed3d1cd8c22f43d5c3a92477c5c0a1539")
+validpgpkeys=()
+
+build() {
+ cd "ADOL-C-$pkgver"
+ ./configure --prefix=/usr --libdir=/usr/lib
+ make
+}
+
+check() {
+ cd "ADOL-C-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "ADOL-C-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}