summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKuldeep Singh Dhaka2019-04-03 00:18:38 +0530
committerKuldeep Singh Dhaka2019-04-03 00:18:38 +0530
commit53079c384bbba830c64c61a6de68211a2289daee (patch)
tree044f5ba16152340f3cf84f6b374aedeb8917089d /PKGBUILD
parent6f776b4bc153affeef816e8c73fdb416dace967d (diff)
downloadaur-lmfit-git.tar.gz
Upstream moved to cmake and change repo location
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 8 insertions, 14 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 75a835cc208..07fab8171bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,18 @@
pkgname=lmfit-git
_pkgname=lmfit
-pkgver=269.822d724
+pkgver=396.e71e485
pkgrel=1
pkgdesc="Self-contained C library for Levenberg-Marquardt least-squares minimization and curve fitting."
arch=('i686' 'x86_64')
-url="http://apps.jcns.fz-juelich.de/doku/sc/$_pkgname"
+url="https://jugit.fz-juelich.de/mlz/$_pkgname"
license=('FreeBSD')
provides=(lmfit)
conflicts=(lmfit)
replaces=(lmfit)
-source=("git://apps.jcns.fz-juelich.de/$_pkgname")
+source=("git+https://jugit.fz-juelich.de/mlz/$_pkgname.git")
depends=()
-makedepends=('git')
+makedepends=('cmake' 'git')
md5sums=('SKIP')
@@ -31,16 +31,10 @@ prepare() {
}
build() {
- cd "$srcdir/$_pkgname"
- # http://askubuntu.com/a/27679
- libtoolize --force
- aclocal
- autoheader
- automake --force-missing --add-missing
- autoconf
-
- cd "build"
- ../configure --prefix=/usr
+ cd "$srcdir/$_pkgname/build"
+ cmake \
+ -DCMAKE_INSTALL_PREFIX='/usr' \
+ -DBUILD_SHARED_LIBS='TRUE' ..
make
}