updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / yacas / PKGBUILD
blob5de3396f20731f99654cedfcaaaa034814754108
1 # Maintainer: Kaiting Chen <kaitocracy@gmail.com>
2 # Contributor: Stefan Husmann <stefan.husmann@t-systems.com>
3 # Contributor: Stéphane Gaudreault <Stephane.Gaudreault@gmail.com>
5 pkgname='yacas'
6 pkgver='1.2.2'
7 pkgrel='8'
8 pkgdesc='Yet another computer algebra system'
9 arch=('i686' 'x86_64')
10 url='http://yacas.sourceforge.net/yacas.html'
11 license=('GPL')
12 makedepends=('perl')
14 source=("http://yacas.sourceforge.net/backups/$pkgname-$pkgver.tar.gz"
15   'gcc4.3.patch' 'gcc4.6.patch' 'makefixes.patch' 'tests.patch')
16 md5sums=('329f149ca3ceb976a7e596b56fc3cba5'
17          '50ac0d790a6af77ce0ad347cb882996b'
18          'e3317d332247c0f1a703eacb59a0350b'
19          '7581139397002c9401467468efd1d76b'
20          '994bec6654f7ed3f38417b8ed09d95ad')
22 build() {
23   cd "${srcdir}/${pkgname}-${pkgver}"
24   patch -Np1 -i $srcdir/gcc4.3.patch
25   patch -Np1 -i $srcdir/gcc4.6.patch
26   patch -Np1 -i $srcdir/makefixes.patch
27   patch -Np1 -i $srcdir/tests.patch
28   ./configure  --prefix=/usr --enable-server
29   make 
32 package() {
33   cd "${srcdir}/${pkgname}-${pkgver}"
34   make DESTDIR=$pkgdir install