diff options
Diffstat (limited to 'community/ginac/PKGBUILD')
-rw-r--r-- | community/ginac/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/ginac/PKGBUILD b/community/ginac/PKGBUILD new file mode 100644 index 000000000..26109b01b --- /dev/null +++ b/community/ginac/PKGBUILD @@ -0,0 +1,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') +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 +} |