core/cln/PKGBUILD

30 lines
560 B
Bash
Raw Normal View History

2010-03-14 23:48:48 +08:00
pkgname=cln
2016-02-29 07:34:44 +08:00
pkgver=1.3.4
2018-01-19 07:35:30 +08:00
pkgrel=2
2010-03-14 23:48:48 +08:00
pkgdesc="Class library for numbers"
arch=('x86_64')
2010-03-14 23:48:48 +08:00
url="http://www.ginac.de/CLN/"
license=('GPL')
depends=('gmp')
2011-08-14 07:24:53 +08:00
makedepends=('texlive-core')
2010-03-14 23:48:48 +08:00
install=cln.install
source=("http://www.ginac.de/CLN/${pkgname}-${pkgver}.tar.bz2")
2016-02-29 07:34:44 +08:00
md5sums=('30ef9d2f02ef5c3f8d221a8692f8b28e')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2011-08-14 07:24:53 +08:00
./configure --prefix=/usr
2018-01-19 07:35:30 +08:00
make all html pdf
}
check() {
cd ${pkgname}-${pkgver}
make check
2011-08-14 07:24:53 +08:00
}
package() {
2018-01-19 07:35:30 +08:00
cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install install-html install-pdf
2010-03-14 23:48:48 +08:00
}