diff options
author | fauno <fauno@endefensadelsl.org> | 2017-05-08 20:17:04 -0300 |
---|---|---|
committer | fauno <fauno@endefensadelsl.org> | 2017-05-08 20:17:04 -0300 |
commit | 1dc35dfeb620ba69a2bf98f851004a8a3910e6bf (patch) | |
tree | 704d62e38d22b78f2ce47d45f40d6010ac29c05c /pcr/cadabra2/PKGBUILD | |
parent | 76c5bdc462d20d7f3cab5b4a1cce4aef3fdfc262 (diff) | |
parent | 0a460333cde2921bb6075fd5e1c18dfa4c5e8ada (diff) | |
download | abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.tar.gz abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.tar.bz2 abslibre-1dc35dfeb620ba69a2bf98f851004a8a3910e6bf.zip |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'pcr/cadabra2/PKGBUILD')
-rw-r--r-- | pcr/cadabra2/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/cadabra2/PKGBUILD b/pcr/cadabra2/PKGBUILD new file mode 100644 index 000000000..394910098 --- /dev/null +++ b/pcr/cadabra2/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: David P. <megver83@parabola.nu> +# Contributor: Tarn Burton <twburton at gmail dot com> + +pkgname='cadabra2' +pkgver=2.1.4 +pkgrel=1 +pkgdesc="A computer algebra system designed specifically for the solution of problems encountered in field theory." +arch=('i686' 'x86_64') +url="http://cadabra.science/" +license=('GPL') +conflicts=('cadabra2-git') +depends=('python-matplotlib' 'gtkmm3' 'jsoncpp' 'mathjax' 'boost-libs' 'python-sympy' 'texlive-core') +makedepends=('cmake' 'boost' 'git') +source=("$pkgname::git+https://github.com/kpeeters/cadabra2#tag=$pkgver" "package.patch") +md5sums=('SKIP' + '2cf414a7280fd64858d1d19d38d4bd8c') +install=package.install + +prepare() { + cd "${srcdir}/${pkgname}" + patch -Np1 -i ../package.patch +} + +build() { + cd $pkgname + mkdir -p build + cd build + cmake -DCMAKE_SKIP_RPATH=true -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "${pkgname}/build" + make DESTDIR="${pkgdir}" install +} |