summaryrefslogtreecommitdiff
path: root/community/ginac/PKGBUILD
blob: 01c21fd7afdf495c0221a2f758d29dd373f35c5f (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
# $Id: PKGBUILD 174027 2013-01-02 02:57:17Z stephane $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: Thomas Baechler <thomas@archlinux.org>

pkgname=ginac
pkgver=1.6.2
pkgrel=2
pkgdesc="C++ library for symbolic calculations"
arch=('i686' 'x86_64')
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')
options=(!libtool)
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
}