summaryrefslogtreecommitdiff
path: root/system/bc/APKBUILD
blob: 9a54a7e7dbfba41246c7d92ad1058ae2b279bce1 (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.0.2
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="8184a86708f3d301252e11c9a5015f69a04fa3f809951963235438d95c9accc81631f6fb8502a18f585672f1e04aa569af34f7662c015d33dd7a6794d116d03f  bc-5.0.2.tar.xz"