scdoc: update to 1.8.0.

This commit is contained in:
prspkt 2019-01-27 19:21:22 +02:00 committed by maxice8
parent 81053ed4f6
commit 14646ef96d

View file

@ -1,6 +1,6 @@
# Template file for 'scdoc'
pkgname=scdoc
version=1.6.1
version=1.8.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=b8ed537b9dcec1f2f546cc194dfe2263eea9adf49b37a8b71cebb7d5e91d979b
checksum=24a5800062ffc8b21b91020a3289b20824cad4b42327957bed4cd815001bc984
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" scdoc"
@ -18,7 +18,7 @@ pre_build() {
if [ "$CROSS_BUILD" ]; then
vsed -e "s|^HOST_SCDOC=.*|HOST_SCDOC=/usr/bin/scdoc|g" -i Makefile
fi
sed -e "s/\" VERSION \"/ ${version}/g" -i src/main.c
vsed -e "s/\" VERSION \"/ ${version}/g" -i src/main.c
}
post_install() {