String formatting
This commit is contained in:
@ -1,29 +1,28 @@
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
DESCRIPTION="LaTeX package for drawing flags of countries using PSTricks"
|
||||
HOMEPAGE="https://ctan.org/tex-archive/graphics/pstricks/contrib/pst-flags"
|
||||
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"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos"
|
||||
DEPEND="app-text/texlive
|
||||
app-arch/unzip"
|
||||
LICENSE='lppl-1-3c'
|
||||
SLOT='0'
|
||||
KEYWORDS='~alpha ~amd64 ~arm ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos'
|
||||
DEPEND='app-text/texlive app-arch/unzip'
|
||||
|
||||
src_unpack() {
|
||||
if [[ -n ${A} ]]; then
|
||||
unpack ${A}
|
||||
mv ${PN} ${P}
|
||||
unpack "${A}"
|
||||
mv "${PN}" "${P}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md doc/amm-pst-doc.cls doc/${PN}-examples.tex doc/${PN}-doc.tex doc/${PN}-doc.pdf
|
||||
dodoc README.md doc/amm-pst-doc.cls doc/"${PN}"-examples.tex doc/"${PN}"-doc.tex doc/"${PN}"-doc.pdf
|
||||
|
||||
insinto /usr/share/texmf-dist/tex/${PN}
|
||||
doins tex/${PN}.sty
|
||||
doins tex/${PN}-colors-html.sty
|
||||
insinto /usr/share/texmf-dist/tex/${PN}/Flags
|
||||
insinto /usr/share/texmf-dist/tex/"${PN}"
|
||||
doins tex/"${PN}".sty
|
||||
doins tex/"${PN}"-colors-html.sty
|
||||
insinto /usr/share/texmf-dist/tex/"${PN}"/Flags
|
||||
doins tex/Flags/*.tex
|
||||
doins tex/Flags/*.eps
|
||||
}
|
||||
|
@ -1,27 +1,26 @@
|
||||
# $Header: $
|
||||
|
||||
EAPI="7"
|
||||
DESCRIPTION="Drawing flags with TikZ, by Wilhelm Haager"
|
||||
HOMEPAGE="https://www.ctan.org/pkg/worldflags"
|
||||
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"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos"
|
||||
DEPEND="app-text/texlive
|
||||
app-arch/unzip"
|
||||
LICENSE='lppl-1-3'
|
||||
SLOT='0'
|
||||
KEYWORDS='~alpha ~amd64 ~arm ~hppa ~m68k ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-macos'
|
||||
DEPEND='app-text/texlive app-arch/unzip'
|
||||
|
||||
src_unpack() {
|
||||
if [[ -n ${A} ]]; then
|
||||
unpack ${A}
|
||||
mv ${PN} ${P}
|
||||
unpack "${A}"
|
||||
mv "${PN}" "${P}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README doc/${PN}.pdf doc/${PN}.tex
|
||||
dodoc README doc/"${PN}".pdf doc/"${PN}".tex
|
||||
|
||||
insinto /usr/share/texmf-dist/tex/${PN}
|
||||
doins tex/${PN}.sty
|
||||
insinto /usr/share/texmf-dist/tex/"${PN}"
|
||||
doins tex/"${PN}".sty
|
||||
doins tex/*.tex
|
||||
doins tex/*.pdf
|
||||
}
|
||||
|
Reference in New Issue
Block a user