Added dev-texlive/worldflags-20210512
This commit is contained in:
38
dev-texlive/worldflags/worldflags-20210512.ebuild
Normal file
38
dev-texlive/worldflags/worldflags-20210512.ebuild
Normal 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
|
||||
}
|
Reference in New Issue
Block a user