diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-07 06:09:37 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-07 06:09:37 +0000 |
commit | 1462b4fe8e5d451fcbe39504bb863b8382a86044 (patch) | |
tree | a3d36a9ffcf72e280f282b047bbb05c621779b32 /system/bc/APKBUILD | |
parent | 6f60a5f69b99dd845c689119f7d0f519a043dff2 (diff) | |
download | packages-1462b4fe8e5d451fcbe39504bb863b8382a86044.tar.gz packages-1462b4fe8e5d451fcbe39504bb863b8382a86044.tar.bz2 packages-1462b4fe8e5d451fcbe39504bb863b8382a86044.tar.xz packages-1462b4fe8e5d451fcbe39504bb863b8382a86044.zip |
system/bc: bump to 1.1.4, add tests, new build system
Diffstat (limited to 'system/bc/APKBUILD')
-rw-r--r-- | system/bc/APKBUILD | 16 |
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" |