diff options
Diffstat (limited to 'pcr/cadabra2')
-rw-r--r-- | pcr/cadabra2/PKGBUILD | 35 | ||||
-rw-r--r-- | pcr/cadabra2/package.install | 11 | ||||
-rw-r--r-- | pcr/cadabra2/package.patch | 28 |
3 files changed, 0 insertions, 74 deletions
diff --git a/pcr/cadabra2/PKGBUILD b/pcr/cadabra2/PKGBUILD deleted file mode 100644 index 394910098..000000000 --- a/pcr/cadabra2/PKGBUILD +++ /dev/null @@ -1,35 +0,0 @@ -# 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 -} diff --git a/pcr/cadabra2/package.install b/pcr/cadabra2/package.install deleted file mode 100644 index bcc3dee5a..000000000 --- a/pcr/cadabra2/package.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - mktexlsr -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} diff --git a/pcr/cadabra2/package.patch b/pcr/cadabra2/package.patch deleted file mode 100644 index 63320f971..000000000 --- a/pcr/cadabra2/package.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -aur -bZwB -x .git cadabra2.old/frontend/CMakeLists.txt cadabra2/frontend/CMakeLists.txt ---- cadabra2.old/frontend/CMakeLists.txt 2017-01-29 09:40:31.904324635 -0500 -+++ cadabra2/frontend/CMakeLists.txt 2017-01-29 09:40:54.937598647 -0500 -@@ -25,8 +25,8 @@ - execute_process(COMMAND kpsewhich -var-value=TEXMFLOCAL OUTPUT_VARIABLE INSTALL_LATEX_DIR OUTPUT_STRIP_TRAILING_WHITESPACE) - endif() - # Get the last path in the LaTeX install dir, if there is more than one separated by a ':'. --#string(REPLACE ":" ";" INSTALL_LATEX_DIR "${INSTALL_LATEX_DIR}") --#list(GET INSTALL_LATEX_DIR -1 INSTALL_LATEX_DIR) -+string(REPLACE ":" ";" INSTALL_LATEX_DIR "${INSTALL_LATEX_DIR}") -+list(GET INSTALL_LATEX_DIR -1 INSTALL_LATEX_DIR) - set(INSTALL_LATEX_DIR "${INSTALL_LATEX_DIR}/tex/latex/cadabra2") - message("-- Installing LaTeX style files in ${INSTALL_LATEX_DIR}") - install(DIRECTORY DESTINATION ${INSTALL_LATEX_DIR} DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE -diff -aur -bZwB -x .git cadabra2.old/tests/CMakeLists.txt cadabra2/tests/CMakeLists.txt ---- cadabra2.old/tests/CMakeLists.txt 2017-01-29 09:40:31.907657960 -0500 -+++ cadabra2/tests/CMakeLists.txt 2017-01-29 09:40:54.937598647 -0500 -@@ -37,8 +37,8 @@ - foreach(NBTEST ${NBTESTS}) - add_custom_command(OUTPUT ${CDBOUT}/${NBTEST}.cdb - DEPENDS ${CNBIN}/${NBTEST}.cnb ${DC} -- COMMAND cadabra2cadabra -- ARGS ${CNBIN}/${NBTEST}.cnb ${CDBOUT}/${NBTEST}.cdb -+ COMMAND env -+ ARGS LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/client_server ${CMAKE_BINARY_DIR}/client_server/cadabra2cadabra ${CNBIN}/${NBTEST}.cnb ${CDBOUT}/${NBTEST}.cdb - COMMENT "Creating ${NBTEST} notebook...") - add_custom_target("${NBTEST}_test" ALL echo -n DEPENDS ${CDBOUT}/${NBTEST}.cdb) - add_test(${NBTEST} ${CMAKE_SOURCE_DIR}/core/cadabra2 ${CDBOUT}/${NBTEST}.cdb) |