# Template file for 'manpages-pt-br'
pkgname=manpages-pt-br
version=4.17.0
revision=1
build_style=gnu-configure
configure_args="--enable-compression=none"
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/"
changelog="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/raw/master/CHANGES.md"
distfiles="https://salsa.debian.org/manpages-l10n-team/manpages-l10n/-/archive/${version}/manpages-l10n-v${version}.tar.gz"
checksum=0afbe8196b091d37bb25702185a903ff69622e3dfbbf400f54ccc1260dcaa4c4

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

manpages-vi_package() {
	short_desc="${_desc} - Vietnamese (Tiếng Việt)"
	pkg_install() {
		vmove usr/share/man/vi
	}
}

manpages-uk_package() {
	short_desc="${_desc} - Ukrainian (Украї́нська Мо́ва)"
	pkg_install() {
		vmove usr/share/man/uk
	}
}

manpages-sv_package() {
	short_desc="${_desc} - Swedish (Svenska)"
	pkg_install() {
		vmove usr/share/man/sv
	}
}

manpages-sr_package() {
	short_desc="${_desc} - Serbian (Српски Језик)"
	pkg_install() {
		vmove usr/share/man/sr
	}
}

manpages-nb_package() {
	short_desc="${_desc} - Norwegian Bokmål (Bokmål)"
	pkg_install() {
		vmove usr/share/man/nb
	}
}

manpages-mk_package() {
	short_desc="${_desc} - Macedonian (Македонски)"
	pkg_install() {
		vmove usr/share/man/mk
	}
}

manpages-it_package() {
	short_desc="${_desc} - Italian (Italiano)"
	pkg_install() {
		vmove usr/share/man/it
	}
}

manpages-id_package() {
	short_desc="${_desc} - Indonesian (Bahasa Indonesia)"
	pkg_install() {
		vmove usr/share/man/id
	}
}

manpages-hu_package() {
	short_desc="${_desc} - Hungarian (Magyar Nyelv)"
	pkg_install() {
		vmove usr/share/man/hu
	}
}

manpages-fi_package() {
	short_desc="${_desc} - Finnish (Suomi)"
	pkg_install() {
		vmove usr/share/man/fi
	}
}

manpages-es_package() {
	short_desc="${_desc} - Spanish (Español)"
	pkg_install() {
		vmove usr/share/man/es
	}
}

manpages-el_package() {
	short_desc="${_desc} - Greek (Ελληνικά)"
	pkg_install() {
		vmove usr/share/man/el
	}
}

manpages-da_package() {
	short_desc="${_desc} - Danish (Dansk)"
	pkg_install() {
		vmove usr/share/man/da
	}
}

manpages-cs_package() {
	short_desc="${_desc} - Czech (Čeština)"
	pkg_install() {
		vmove usr/share/man/cs
	}
}

manpages-ru_package() {
	short_desc="${_desc} - Russian (Русский)"
	pkg_install() {
		vmove usr/share/man/ru
	}
}
