blob: d2412f218d8fc2dadf51330e69a64840ab17d491 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Template file for 'scdoc'
pkgname=scdoc
version=1.11.3
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"
changelog="https://git.sr.ht/~sircmpwn/scdoc/refs"
distfiles="https://git.sr.ht/~sircmpwn/scdoc/archive/${version}.tar.gz"
checksum=4c5c6136540384e5455b250f768e7ca11b03fdba1a8efc2341ee0f1111e57612
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" scdoc"
fi
pre_build() {
if [ "$CROSS_BUILD" ]; then
vsed -e "s|^HOST_SCDOC=.*|HOST_SCDOC=/usr/bin/scdoc|g" -i Makefile
fi
vsed -e "s/\" VERSION \"/ ${version}/g" -i src/main.c
}
post_install() {
vlicense COPYING
}
|