Added dev-texlive/pst-flags-20230109
This commit is contained in:
1
dev-texlive/pst-flags/Manifest
Normal file
1
dev-texlive/pst-flags/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST pst-flags-20230109.zip 2788892 BLAKE2B 29ad630c0d763b0c92aa32984c154c5a082bc51a7864bd427a3131fd0786e4af4c0ae2257d9c83984f79e49533b790071fc562510c94ce321c9eb6a91d3446cf SHA512 8f14cb3588b217251650cb8fbd802fe1eab28f13249fcf047243d7760e8ed9d84615249dc0ffc8ecf08759c365e3ef6c1618a59cb725b58a163cbd3c18d74d31
|
18
dev-texlive/pst-flags/metadata.xml
Normal file
18
dev-texlive/pst-flags/metadata.xml
Normal file
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>pierre.saundersps@gmail.com</email>
|
||||
<name>Pierre Saunders</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
This package provides a number of macros for rendering flags of world countries and their
|
||||
associated artefacts drawn using LaTeX PSTricks package that allow the inclusion of
|
||||
PostScript drawings directly inside TeX or LaTeX source code. This package further
|
||||
contributes towards a complete implementation of the vector drawing capabilities provided
|
||||
by PSTricks. Formatting of the resulting drawings is entirely controlled by the TeX macros.
|
||||
A good working knowledge of LaTeX should be sufficient to design flags of sovereign countries
|
||||
and adapt them to create new designs. Features such as color or shape customisation and
|
||||
dynamic modifications are possible by cleverly adjusting the options supplied to the TeX macros.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
42
dev-texlive/pst-flags/pst-flags-20230109.ebuild
Normal file
42
dev-texlive/pst-flags/pst-flags-20230109.ebuild
Normal file
@ -0,0 +1,42 @@
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DESCRIPTION="LaTeX package for drawing flags of countries using PSTricks"
|
||||
HOMEPAGE="https://ctan.org/tex-archive/graphics/pstricks/contrib/pst-flags"
|
||||
|
||||
SRC_URI="http://mirrors.ctan.org/graphics/pstricks/contrib/pst-flags.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="lppl-1-3c"
|
||||
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.md doc/${PN}-examples.tex doc/${PN}-doc.tex doc/${PN}-doc.pdf
|
||||
|
||||
insinto /usr/share/texmf-dist/tex/latex
|
||||
doins tex/${PN}.sty
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
texhash
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
texhash
|
||||
}
|
Reference in New Issue
Block a user