summaryrefslogtreecommitdiff
path: root/extra/cln/PKGBUILD
blob: 0eee5b82d9f693579d75b15e6b76b62fd57d9650 (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 108622 2011-02-02 01:45:45Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=cln
pkgver=1.3.1
pkgrel=1
pkgdesc="Class library for numbers"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.ginac.de/CLN/"
license=('GPL')
depends=('gmp')
makedepends=('texlive-core')
options=('!libtool')
install=cln.install
source=(ftp://ftpthep.physik.uni-mainz.de/pub/gnu/${pkgname}-${pkgver}.tar.bz2)
md5sums=('ede584cb1cafa66d56f42a3cf420469d')
sha1sums=('351506da9bd7b0b3cefd3a5424823797fb589acc')

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
}