summaryrefslogtreecommitdiff
path: root/extra/cln/PKGBUILD
blob: 30f69b7a9ba7511df1f058a7b8bb3d2e6f867a17 (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
# $Id: PKGBUILD 143665 2011-11-28 09:23:06Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=cln
pkgver=1.3.2
pkgrel=1
pkgdesc="Class library for numbers"
arch=('i686' 'x86_64')
url="http://www.ginac.de/CLN/"
license=('GPL')
depends=('gmp')
makedepends=('texlive-core')
options=('!libtool')
install=cln.install
source=(http://www.ginac.de/CLN/${pkgname}-${pkgver}.tar.bz2)
md5sums=('d897cce94d9c34d106575ed4ec865d71')
sha1sums=('c30dca80e75f45e2107f233075e6d0339ea884b0')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make all html pdf
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install install-html install-pdf
}