summaryrefslogtreecommitdiff
path: root/system/bc/APKBUILD
blob: cad3d76457d47b1057ef97203f8abee43b90757a (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.4.0
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="43006a9f0b3acbc27fb3726536eb8723155521c3b29e187d54b350320f179454c526f5e5e66c0b3a1fca62003d1e830220d4753fd374efa3a0fa1f8a1d02e739  bc-2.4.0.tar.xz"