mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
bc-gh: fix alternatives for the man pages.
Install man pages with the suffix -gh.
This commit is contained in:
parent
f7f7c682dc
commit
80237de0a5
1 changed files with 6 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'bc-gh'
|
# Template file for 'bc-gh'
|
||||||
pkgname=bc-gh
|
pkgname=bc-gh
|
||||||
version=2.5.3
|
version=2.5.3
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="bc-${version}"
|
wrksrc="bc-${version}"
|
||||||
short_desc="Implementation of POSIX bc with GNU extensions"
|
short_desc="Implementation of POSIX bc with GNU extensions"
|
||||||
maintainer="Gavin D. Howard <yzena.tech@gmail.com>"
|
maintainer="Gavin D. Howard <yzena.tech@gmail.com>"
|
||||||
|
@ -11,7 +11,9 @@ distfiles="${homepage}/releases/download/${version}/bc-${version}.tar.xz"
|
||||||
checksum=f7cec2a1bf6be2e805dfda6955b4631ec64d3397e96ce33f5a69909ba7aaf5c5
|
checksum=f7cec2a1bf6be2e805dfda6955b4631ec64d3397e96ce33f5a69909ba7aaf5c5
|
||||||
alternatives="
|
alternatives="
|
||||||
bc:bc:/usr/bin/bc-gh
|
bc:bc:/usr/bin/bc-gh
|
||||||
dc:dc:/usr/bin/dc-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"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
PREFIX=/usr DESTDIR="${DESTDIR}" EXECSUFFIX=-gh CC="${CC}" CFLAGS="${CFLAGS}" \
|
PREFIX=/usr DESTDIR="${DESTDIR}" EXECSUFFIX=-gh CC="${CC}" CFLAGS="${CFLAGS}" \
|
||||||
|
@ -26,7 +28,7 @@ do_check() {
|
||||||
do_install() {
|
do_install() {
|
||||||
# Note that make install is used because of a symlink.
|
# Note that make install is used because of a symlink.
|
||||||
make install
|
make install
|
||||||
vman manuals/bc.1
|
vman manuals/bc.1 bc-gh.1
|
||||||
vman manuals/dc.1
|
vman manuals/dc.1 dc-gh.1
|
||||||
vlicense LICENSE.md
|
vlicense LICENSE.md
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue