scdoc: update to 1.6.0.
This commit is contained in:
parent
dae12aa071
commit
343742c18c
@ -1,6 +1,6 @@
|
||||
# Template file for 'scdoc'
|
||||
pkgname=scdoc
|
||||
version=1.5.2
|
||||
version=1.6.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Tool for generating roff manual pages"
|
||||
@ -8,7 +8,7 @@ maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://git.sr.ht/~sircmpwn/scdoc"
|
||||
distfiles="https://git.sr.ht/~sircmpwn/scdoc/archive/${version}.tar.gz"
|
||||
checksum=86591de3741bea5443e7fbc11ff9dc22da90621105b06be524422efd5dec3a29
|
||||
checksum=a396bc070c8734d7cafe3a3481c8cffacd83b3effdeb28de43e2cdac889643b1
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" scdoc"
|
||||
@ -19,6 +19,8 @@ pre_build() {
|
||||
sed -i "s|^HOST_SCDOC=.*|HOST_SCDOC=/usr/bin/scdoc|g" Makefile
|
||||
fi
|
||||
sed -i "s/\" VERSION \"/ ${version}/g" src/main.c
|
||||
# 1.6.0 use glibc extensions to parse that
|
||||
unset SOURCE_DATE_EPOCH
|
||||
}
|
||||
|
||||
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…
x
Reference in New Issue
Block a user