diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-06-02 12:20:33 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-06-02 16:35:28 -0300 |
commit | 02cd0afb4dfe0e9772a95e4c2515578fcbe6bf69 (patch) | |
tree | 1d9aedf5ab81915f87b05d36263a0e6ef4940cf7 /pcr/lie | |
parent | 4e1bff63ecf0bd966914beaf8eeba2a55e7cd760 (diff) |
lie: add new package to [pcr]
Diffstat (limited to 'pcr/lie')
-rw-r--r-- | pcr/lie/PKGBUILD | 39 | ||||
-rwxr-xr-x | pcr/lie/lie | 4 | ||||
-rwxr-xr-x | pcr/lie/lie.1 | 27 | ||||
-rw-r--r-- | pcr/lie/lie.install | 35 |
4 files changed, 105 insertions, 0 deletions
diff --git a/pcr/lie/PKGBUILD b/pcr/lie/PKGBUILD new file mode 100644 index 000000000..0b5c75768 --- /dev/null +++ b/pcr/lie/PKGBUILD @@ -0,0 +1,39 @@ +# Contributor (Arch): Dariusz 'quasi' Panchyrz <quasi@aur.archlinux.org> +# Maintainer: asm <asm@member.fsf.org> + +pkgname=lie +pkgver=2.2.2 +pkgrel=3 +pkgdesc="A Computer algebra package for Lie group computations" +arch=('i686' 'x86_64') +url="http://wwwmathlabo.univ-poitiers.fr/~maavl/LiE/" +license=('LGPL') +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 noreadline +} + +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 +} diff --git a/pcr/lie/lie b/pcr/lie/lie new file mode 100755 index 000000000..54fa7895e --- /dev/null +++ b/pcr/lie/lie @@ -0,0 +1,4 @@ +#!/bin/sh +PTH=`which ${0} | sed -e 's/bin\/lie//'` + +exec ${PTH}/bin/Lie.exe initfile ${PTH}/lib/lie diff --git a/pcr/lie/lie.1 b/pcr/lie/lie.1 new file mode 100755 index 000000000..10bf50db6 --- /dev/null +++ b/pcr/lie/lie.1 @@ -0,0 +1,27 @@ +.TH LIE 1 "December 12, 2006" "" "" + +.SH NAME +LiE - A computer algebra package for Lie group computations +.SH SYNOPSIS +.BR "lie" +.SH DESCRIPTION +.B LiE +LiE is a computer algebra system that is specialised in computations +involving (reductive) Lie groups and their representations. + +Full documentation about the program and the underlying mathematics +can be found in /usr/share/doc/lie/manual.dvi. + +Run-time help can be obtained by typing '?' for a list of help entries +or '?help' for help information. + +See the web page at +.BR "http://young.sp2mi.univ-poitiers.fr/~marc/LiE/" +for the CWEBx source code. +.SH AUTHORS +LiE was written by Arjeh M. Cohen <amc@win.tue.nl>, Marc van Leeuwen +<maavl@mathlabo.univ-poitiers.fr> and Bert Lisser. +.PP +This manual page was written by Kasper Peeters +<kasper.peeters@aei.mpg.de>, for the Debian project (but may be used +by others). diff --git a/pcr/lie/lie.install b/pcr/lie/lie.install new file mode 100644 index 000000000..843f01a31 --- /dev/null +++ b/pcr/lie/lie.install @@ -0,0 +1,35 @@ +# arg 1: the new package version +pre_install() { + /bin/true +} + +# arg 1: the new package version +post_install() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +pre_upgrade() { + /bin/true +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + post_install +} + +# arg 1: the old package version +pre_remove() { + /bin/true +} + +# arg 1: the old package version +post_remove() { + /bin/true +} + +op=$1 +shift +$op $* |