# Template file for 'manpages-pt-br'
pkgname=manpages-pt-br
version=4.11.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=e40e6ece56281f9d6075daff9c56f34b1d335414d4c88c0a081c27c852371b7d

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
	}
}
