summaryrefslogtreecommitdiff
path: root/community/ginac/PKGBUILD
blob: 669b8b06d18064fd65b471e0e203186f989f56c0 (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
# $Id: PKGBUILD 97794 2013-09-29 19:22:18Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: Thomas Baechler <thomas@archlinux.org>

pkgname=ginac
pkgver=1.6.2
pkgrel=3
pkgdesc="C++ library for symbolic calculations"
arch=('i686' 'x86_64')
url='http://www.ginac.de/'
license=('GPL')
depends=('cln')
makedepends=('transfig' 'doxygen' 'texlive-bin')
install=${pkgname}.install
source=(http://www.ginac.de/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('0f34d255024b3fb258e44da84f9e82dfb3dc9bc15f0999b7a18204a730663bde')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --disable-static
  make
}

check() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make check
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}