Least Action

Nontrivializing triviality..and vice versa.

Installing Cadabra in Arch Linux

leave a comment »

Cadabra is available on the AUR for Arch Linux, but one of the required libraries called conlie, has the wrong upstream URL in the default PKGBUILD.
conLiE.tar.gz is available here: http://www.filewatcher.com/m/conLiE.tar.gz.361170-0.html

A sample PKGBUILD for conlie, which you can edit while installing Cadabra, is listed below. I have changed the md5sum relative to the ones in the original (as of July 15, 2015, it hasn’t been updated).

# Contributor: Dariusz ‘quasi’ Panchyrz <quasi@aur.archlinux.org>

pkgname=conlie
pkgver=2.2.2
pkgrel=2
pkgdesc=”A Computer algebra package for Lie group computations”
arch=(‘i686’ ‘x86_64’)
url=”http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/&#8221;
license=(‘LGPL’)
depends=(readline)
install=$pkgname.install
source=(http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/conLiE.tar.gz lie lie.1)
md5sums=(‘2e98f252364d43557a322ea7eb677944’
‘d4f5ad8b87479ef93734eee6d1629190’
‘a47060395617ed656eaccde1a9e9ee93’)

build() {
cd LiE

make
}

package() {
cd LiE

install -D Lie.exe $pkgdir/usr/bin/Lie.exe
install -D $srcdir/lie $pkgdir/usr/bin/lie

mkdir -p $pkgdir/usr/lib/lie
for i in INFO.* LEARN.ind
do
cp $i $pkgdir/usr/lib/lie/
done

install -D manual/manual.dvi $pkgdir/usr/share/doc/lie/manual.dvi
install -D README $pkgdir/usr/share/doc/lie-2.2.2/README

install -D $srcdir/lie.1 $pkgdir/usr/share/man/man1/lie.1
}

Advertisements

Written by Vivek

July 15, 2015 at 01:33

Posted in Linux

Tagged with ,

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: