summaryrefslogtreecommitdiff
path: root/pcr/lie/PKGBUILD
blob: 0b5c757680ca3df67a884cbf8e5f4ecc27910acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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
}