From a7156d80f00940decb5a9a7827d3479d8659f842 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 23 Oct 2018 19:44:32 +0000 Subject: system/bc: replace with POSIX bc --- system/bc/APKBUILD | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) (limited to 'system') diff --git a/system/bc/APKBUILD b/system/bc/APKBUILD index 85fba4be8..269a6f8d0 100644 --- a/system/bc/APKBUILD +++ b/system/bc/APKBUILD @@ -1,36 +1,27 @@ -# Contributor: Michael Mason +# Contributor: A. Wilcox # Maintainer: A. Wilcox pkgname=bc -pkgver=1.07.1 -pkgrel=1 +pkgver=1.0_rc7 +pkgrel=0 pkgdesc="An arbitrary precision numeric processing language (calculator)" -url="https://www.gnu.org/software/bc/bc.html" +url="https://github.com/gavinhoward/bc" arch="all" -license="GPL-2.0+" -makedepends="ed flex bison texinfo" -subpackages="$pkgname-doc" -source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" +options="!check" # No test suite. +license="BSD-0-Clause" +depends="" +makedepends="" +subpackages="" +source="https://github.com/gavinhoward/bc/releases/download/${pkgver/_/-}/bc-${pkgver/_/-}.tar.xz" +builddir="$srcdir"/$pkgname-${pkgver/_/-} build() { cd "$builddir" - ./configure \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info - make -} - -check() { - cd "$builddir" - make check + make PREFIX="/usr" } package() { cd "$builddir" - make DESTDIR="$pkgdir" install + make PREFIX="/usr" DESTDIR="$pkgdir" install } -sha512sums="02126d0db6b6ed06d56cfc292d6f5475ff1e574779d7e69c7809bbb1e13f946f57ea07da2a7666baa092507a951a822044b0970075f75eefe65a5c1999b75d34 bc-1.07.1.tar.gz" +sha512sums="58d50f6a369dd5aded16d9c9384f896a5a683bd1923c116fefe2dd8af24221c55a728d006c9cac9c9992ad6e04031173ce456fca61151b8b5d568ad0a3b39333 bc-1.0-rc7.tar.xz" -- cgit v1.2.3-70-g09d2