summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/bc/APKBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/system/bc/APKBUILD b/system/bc/APKBUILD
index 269a6f8d0..d234fa61f 100644
--- a/system/bc/APKBUILD
+++ b/system/bc/APKBUILD
@@ -1,27 +1,29 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=bc
-pkgver=1.0_rc7
+pkgver=1.1.4
pkgrel=0
pkgdesc="An arbitrary precision numeric processing language (calculator)"
url="https://github.com/gavinhoward/bc"
arch="all"
-options="!check" # No test suite.
license="BSD-0-Clause"
depends=""
makedepends=""
-subpackages=""
+subpackages="$pkgname-doc"
source="https://github.com/gavinhoward/bc/releases/download/${pkgver/_/-}/bc-${pkgver/_/-}.tar.xz"
builddir="$srcdir"/$pkgname-${pkgver/_/-}
build() {
- cd "$builddir"
- make PREFIX="/usr"
+ PREFIX="/usr" ./configure.sh -g -G -O3
+ make
+}
+
+check() {
+ make test
}
package() {
- cd "$builddir"
make PREFIX="/usr" DESTDIR="$pkgdir" install
}
-sha512sums="58d50f6a369dd5aded16d9c9384f896a5a683bd1923c116fefe2dd8af24221c55a728d006c9cac9c9992ad6e04031173ce456fca61151b8b5d568ad0a3b39333 bc-1.0-rc7.tar.xz"
+sha512sums="fa67325cc3cb5df7513e6d0ae74d3476d7d9e87722db2f24d0cf0781622f02ec99e6ab27d3e2d57866830dd18dc43eb3c52d460be6c6ec0260ce2bad7765d7aa bc-1.1.4.tar.xz"