Added dev-texlive/worldflags-20210512

This commit is contained in:
saundersp
2023-09-21 16:15:00 +02:00
parent ddc3ab1e18
commit 2ae5d6228f
5 changed files with 463 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
# $Header: $
EAPI="7"
DESCRIPTION="Drawing flags with TikZ, by Wilhelm Haager"
HOMEPAGE="https://www.ctan.org/pkg/worldflags"
SRC_URI="https://mirrors.ctan.org/graphics/pgf/contrib/worldflags.zip -> ${P}.zip"
LICENSE="lppl-1-3"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos"
SLOT="0"
IUSE=""
DEPEND="app-text/texlive
app-arch/unzip"
src_unpack() {
if [[ -n ${A} ]]; then
unpack ${A}
mv ${PN} ${P}
fi
}
src_compile() {
tex ${PN}.ins
}
src_install() {
dodoc README doc/${PN}.tex doc/${PN}.pdf
insinto /usr/share/texmf-dist/tex/latex
doins tex/${PN}.sty
}
pkg_postinst() {
texhash
}
pkg_postrm() {
texhash
}