blob: 6ba4d24ea2ca79a6e17039a9341710de23db5a0d (
plain) (
tree)
|
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bc
pkgver=1.2.6
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://github.com/gavinhoward/bc"
arch="all"
license="BSD-2-Clause"
depends=""
makedepends=""
subpackages="$pkgname-doc $pkgname-lang"
source="https://github.com/gavinhoward/bc/releases/download/${pkgver/_/-}/bc-${pkgver/_/-}.tar.xz"
builddir="$srcdir"/$pkgname-${pkgver/_/-}
build() {
PREFIX="/usr" DESTDIR="$pkgdir" ./configure.sh -g -G -O3
make
}
check() {
make test
}
package() {
make install
}
sha512sums="c8ff2ac542413bf594a00ea9a8a9e4cd24e48081839a4e11546a08551a73b4f460391edf7f3aa3f5143db5c4e7bc1448ff7cd1104599cfa2fb44fba79c5b24fc bc-1.2.6.tar.xz"
|