Commit 3b671f86 authored by Jeff Huang's avatar Jeff Huang 🤔

bc: updtae to 1.07

parent 1021387e
# maintainer (x86_64): AlmAck <almack[at]chakralinux[dot]org>
pkgname=bc
pkgver=1.06.95
pkgrel=2
pkgver=1.07
pkgrel=1
pkgdesc="An arbitrary precision calculator language"
arch=('x86_64')
url="http://www.gnu.org/software/bc/"
license=('GPL')
depends=('readline')
makedepends=('ed')
replaces=('bc-readline')
conflicts=('bc-readline')
install=bc.install
source=(ftp://alpha.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2
bc-1.06.95-void_uninitialized.patch)
md5sums=('5126a721b73f97d715bb72c13c889035'
'fe85d42dd4151801e9b8c2d2c4d990bf')
prepare() {
cd "${pkgname}-${pkgver}"
# https://bugs.gentoo.org/show_bug.cgi?id=349339
patch -Np0 -i ${srcdir}/bc-1.06.95-void_uninitialized.patch
}
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('e91638a947beadabf4d7770bdbb3d512')
build() {
cd "${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man \
--infodir=/usr/share/info --with-readline
make
make -j1
}
check () {
check() {
cd "${pkgname}-${pkgver}"
echo "quit" | ./bc/bc -l Test/checklib.b # 10 failures
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment