pkgname=cln pkgver=1.3.4 pkgrel=2 pkgdesc="Class library for numbers" arch=('x86_64') url="http://www.ginac.de/CLN/" license=('GPL') depends=('gmp') makedepends=('texlive-core') install=cln.install source=("http://www.ginac.de/CLN/${pkgname}-${pkgver}.tar.bz2") md5sums=('30ef9d2f02ef5c3f8d221a8692f8b28e') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr make all html pdf } check() { cd ${pkgname}-${pkgver} make check } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install install-html install-pdf }