summaryrefslogtreecommitdiff
path: root/community/ginac/PKGBUILD
blob: b8491a756bf23f967b53bb462d072d46adc7622c (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 81849 2013-01-02 03:07:05Z stephane $
# Maintainer: 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=2
pkgdesc="C++ library for symbolic calculations"
arch=('i686' 'x86_64' 'mips64el')
url='http://www.ginac.de/'
license=('GPL')
depends=('cln')
makedepends=('transfig' 'doxygen' 'texlive-bin')
source=(http://www.ginac.de/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('c93913c4c543874b2ade4f0390030641be7e0c41')
install=${pkgname}.install

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
}