bc-gh: update to 5.2.1.

This commit is contained in:
mobinmob 2021-11-26 15:17:16 +02:00 committed by Érico Nogueira Rolim
parent 62fd6b6a64
commit c5a1d370bf

View file

@ -1,6 +1,6 @@
# Template file for 'bc-gh'
pkgname=bc-gh
version=5.1.1
version=5.2.1
revision=1
wrksrc="bc-${version}"
short_desc="Implementation of POSIX bc with GNU extensions"
@ -9,13 +9,15 @@ license="BSD-2-Clause"
homepage="https://git.yzena.com/gavin/bc"
changelog="https://git.yzena.com/gavin/bc/raw/branch/master/NEWS.md"
distfiles="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz"
checksum=cfec5571216693537f9565073334be691717bfb762610cf1a06050e0f25aa94d
checksum=bc031b68e5eafef37305697b76f6261abac4a94286e260fa339771f2484f1ecd
alternatives="
bc:bc:/usr/bin/bc-gh
bc:bc.1:/usr/share/man/man1/bc-gh.1
dc:dc:/usr/bin/dc-gh
dc:dc.1:/usr/share/man/man1/dc-gh.1"
# no translations in musl, because there is not a gencat binary there.
do_configure() {
PREFIX=/usr DESTDIR="${DESTDIR}" EXECSUFFIX=-gh CC="${CC}" CFLAGS="${CFLAGS}" \
HOSTCC="${CC_FOR_BUILD}" HOSTCFLAGS="${CFLAGS_FOR_BUILD}" ./configure.sh -GM \