aboutsummaryrefslogtreecommitdiffstats
path: root/testing/howard-bc/APKBUILD
blob: e28ede714a42e1ffc6c522df621e0e9538a74ebd (plain)
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: Gavin D. Howard <yzena.tech@gmail.com>
# Maintainer: Gavin D. Howard <yzena.tech@gmail.com>
pkgname=howard-bc
_pkgname=bc
pkgver=2.5.3
pkgrel=0
pkgdesc="POSIX bc with GNU extensions"
url="https://github.com/gavinhoward/bc"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.xz::https://github.com/gavinhoward/$_pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.xz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	PREFIX=/usr DESTDIR="$pkgdir" EXECSUFFIX=-howard ./configure.sh -GN
	make
}

check() {
	make test
}

package() {
	make install
}

sha512sums="97c0722969c4f2fd907786e0a89f9b403662b1bcdd1aab59418ab3fe140c50584b45eb346008ad94916335418f08433d2634b52b94ae1d7463b665a746f1a608  howard-bc-2.5.3.tar.xz"