summaryrefslogtreecommitdiff
path: root/system/bc/APKBUILD
blob: 0a08ce39a49191437187bdee5bddec70d6ad03ab (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=5.1.1
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://git.yzena.com/gavin/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="d8774fb1e654520abdf7d790783d4a3c04fa8f4982fc1cd0d92331e7e4b5889efa022cafb5e1286b6c82a74c9388f47657c7b9d78888b5d8056fa40d3d5e5c69  bc-5.1.1.tar.xz"