From 1462b4fe8e5d451fcbe39504bb863b8382a86044 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 7 Mar 2019 06:09:37 +0000 Subject: system/bc: bump to 1.1.4, add tests, new build system --- system/bc/APKBUILD | 16 +++++++++------- 1 file 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 # Maintainer: A. Wilcox 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" -- cgit v1.2.3-70-g09d2