void-packages/srcpkgs/manpages-pt-br/template

56 lines
1.3 KiB
Bash

# Template file for 'manpages-pt-br'
pkgname=manpages-pt-br
version=4.2.0
revision=1
_prjname=manpages-l10n
wrksrc=${_prjname}-v${version}
build_style=gnu-configure
make_build_args="comp_extension= compressor=cat"
hostmakedepends="po4a"
_desc="Translations of manpages"
short_desc="${_desc} - Brazilian Portuguese (Português Brasileiro)"
maintainer="Érico Nogueira <ericonr@disroot.org>"
license="GPL-3.0-or-later"
homepage="https://manpages-l10n-team.pages.debian.net/manpages-l10n/"
distfiles="https://salsa.debian.org/manpages-l10n-team/${_prjname}/-/archive/v${version}/${_prjname}-v${version}.tar.gz"
checksum=efb0cdf72510ca74d6f6172c44059d7726116d2e3839e70f494a2e8e3728f6fb
post_install() {
find $DESTDIR -name '*systemd*' -delete
}
manpages-nl_package() {
short_desc="${_desc} - Dutch (Nederlands)"
pkg_install() {
vmove usr/share/man/nl
}
}
manpages-fr_package() {
short_desc="${_desc} - French (Français)"
pkg_install() {
vmove usr/share/man/fr
}
}
manpages-de_package() {
short_desc="${_desc} - German (Deutsch)"
pkg_install() {
vmove usr/share/man/de
}
}
manpages-pl_package() {
short_desc="${_desc} - Polish (Polski)"
pkg_install() {
vmove usr/share/man/pl
}
}
manpages-ro_package() {
short_desc="${_desc} - Romanian (Limba Română)"
pkg_install() {
vmove usr/share/man/ro
}
}