blob: 96940ff9945de3d46d78ead85a19fb7c8f81e1dd (
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=6.2.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="6c0fcd1e5860d2e344c7245cd2ae2672b19ec184cb2723b2d811559edd47bb0b0874b0b5372a9c0f44cce6a7e9069a1b6eb99019a8d19a5b0d056b23ac44f0e3 bc-6.2.1.tar.xz"
|