mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 00:23:52 +02:00
scdoc: update to 1.6.0.
This commit is contained in:
parent
dae12aa071
commit
343742c18c
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'scdoc'
|
# Template file for 'scdoc'
|
||||||
pkgname=scdoc
|
pkgname=scdoc
|
||||||
version=1.5.2
|
version=1.6.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Tool for generating roff manual pages"
|
short_desc="Tool for generating roff manual pages"
|
||||||
|
@ -8,7 +8,7 @@ maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://git.sr.ht/~sircmpwn/scdoc"
|
homepage="https://git.sr.ht/~sircmpwn/scdoc"
|
||||||
distfiles="https://git.sr.ht/~sircmpwn/scdoc/archive/${version}.tar.gz"
|
distfiles="https://git.sr.ht/~sircmpwn/scdoc/archive/${version}.tar.gz"
|
||||||
checksum=86591de3741bea5443e7fbc11ff9dc22da90621105b06be524422efd5dec3a29
|
checksum=a396bc070c8734d7cafe3a3481c8cffacd83b3effdeb28de43e2cdac889643b1
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
hostmakedepends+=" scdoc"
|
hostmakedepends+=" scdoc"
|
||||||
|
@ -19,6 +19,8 @@ pre_build() {
|
||||||
sed -i "s|^HOST_SCDOC=.*|HOST_SCDOC=/usr/bin/scdoc|g" Makefile
|
sed -i "s|^HOST_SCDOC=.*|HOST_SCDOC=/usr/bin/scdoc|g" Makefile
|
||||||
fi
|
fi
|
||||||
sed -i "s/\" VERSION \"/ ${version}/g" src/main.c
|
sed -i "s/\" VERSION \"/ ${version}/g" src/main.c
|
||||||
|
# 1.6.0 use glibc extensions to parse that
|
||||||
|
unset SOURCE_DATE_EPOCH
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
2
srcpkgs/scdoc/update
Normal file
2
srcpkgs/scdoc/update
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
site="https://git.sr.ht/%7Esircmpwn/scdoc/refs"
|
||||||
|
pattern="scdoc/refs/\K[.\d]+(?=\")"
|
Loading…
Add table
Reference in a new issue