blob: b25801a2032d025dd5eb3b5a3f23b2a55f4c9ec9 (
plain) (
blame)
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
|
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bc
pkgver=2.7.2
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"
source="https://github.com/gavinhoward/bc/releases/download/$pkgver/bc-$pkgver.tar.xz"
build() {
PREFIX="/usr" DESTDIR="$pkgdir" ./configure.sh -g -G -O3
make
}
check() {
make test
}
package() {
make install
}
sha512sums="c2014b16165bf5f8bdadf42bb60ea967a060753c17e13a7c3569d16d218bb3fb644e6a46950e9e7b3aa5a9f6bee4da9b158694909a0ab1fe390b7bb4dc20b303 bc-2.7.2.tar.xz"
|