mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
New package: scdoc-1.3.4
This commit is contained in:
parent
5de5841a26
commit
5c60740c7c
1 changed files with 26 additions and 0 deletions
26
srcpkgs/scdoc/template
Normal file
26
srcpkgs/scdoc/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'scdoc'
|
||||||
|
pkgname=scdoc
|
||||||
|
version=1.3.4
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-makefile
|
||||||
|
short_desc="Tool for generating roff manual pages"
|
||||||
|
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://git.sr.ht/~sircmpwn/scdoc"
|
||||||
|
distfiles="https://git.sr.ht/~sircmpwn/scdoc/snapshot/scdoc-${version}.tar.xz"
|
||||||
|
checksum=cb27f40852f00812cfbcbce46e1d5c0aa54e5862997e3e114aec7e459a362e8c
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" scdoc"
|
||||||
|
fi
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
sed -i "s|^HOST_SCDOC=.*|HOST_SCDOC=/usr/bin/scdoc|g" Makefile
|
||||||
|
fi
|
||||||
|
sed -i "s/\" VERSION \"/ ${version}/g" src/main.c
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue