diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-tex/bera | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-tex/bera')
-rw-r--r-- | dev-tex/bera/Manifest | 3 | ||||
-rw-r--r-- | dev-tex/bera/bera-20040930.ebuild | 56 | ||||
-rw-r--r-- | dev-tex/bera/metadata.xml | 8 |
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-tex/bera/Manifest b/dev-tex/bera/Manifest new file mode 100644 index 000000000000..7658e1b883f3 --- /dev/null +++ b/dev-tex/bera/Manifest @@ -0,0 +1,3 @@ +DIST bera-20040930.zip 474202 BLAKE2B b1d9d581e9406acf8615256517fb7e703eb64755462403591edfc51448bc9c29968142a26a3758b593e40a02a342b93a1618f682fdbddcf66bfc1fc97b34e7e5 SHA512 a783fa424b0274e83e3648f763e66a467ae154a12da800a806ef74dce820b1d9ff0daf19e155f1edde78caac0880a6512cfe40c707a82b65dcac738e7a9588fa +EBUILD bera-20040930.ebuild 1076 BLAKE2B 8c277e14a7ed2bf3cfbfa65e54fb7c6576c254ba32a5754c1743354c28b51a8aaae9de0720ba0d9cd5f47b53371a3c1e7312196a75fe65bafe25966f3fe9a5ed SHA512 600f9f05f6efa2fab5cbd7cf5fef717c8786ffe56c3667c5153fe999d88cd04f86d3cd33f734e75454f00b389d23e46c72c426d231886928e7363d2d578d822d +MISC metadata.xml 249 BLAKE2B 1b34ce77c092c0664a18f32525d158d41bf36ab7ab7a4b9d01ed37e1e3dda3d58849d5b1375065c4e5591f6b09b2a93e88a624d399c495a0b1125edb30ec172f SHA512 895325641a176c848988fb5f36cdb567b584d22f6e778b3de674de480cbca30b7cf8f12ecbbe1173a63e3229889e1e0f5efd5afea4f0d4c429ac236598f80f1e diff --git a/dev-tex/bera/bera-20040930.ebuild b/dev-tex/bera/bera-20040930.ebuild new file mode 100644 index 000000000000..ddce27ef3912 --- /dev/null +++ b/dev-tex/bera/bera-20040930.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=0 + +inherit latex-package + +MY_P=${PN} +S=${WORKDIR}/${MY_P} +SUPPLIER="public" +DESCRIPTION="LaTeX package for the Bera Type1 font family" +HOMEPAGE="http://www.ctan.org/tex-archive/fonts/bera/" +SRC_URI="mirror://gentoo/${P}.zip" +LICENSE="LPPL-1.2" + +DEPEND="app-arch/unzip" + +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE="" + +src_unpack() { + unpack ${A} + cd "${S}" + unzip ${MY_P}.zip +} + +src_install() { + DOCS="${S}/README ${S}/LICENSE ${S}/doc/fonts/bera/bera.txt" + # install sty and fonts + cd "${S}/tex/latex/${MY_P}" + latex-package_src_install + + cd "${S}/fonts/vf/public/${MY_P}" + latex-package_src_install + + cd "${S}/fonts/tfm/public/${MY_P}" + latex-package_src_install + + # install map + cd "${S}" + dodir ${TEXMF}/fonts/map/dvips/${MY_P} + cp -pPR fonts/map/dvips/${MY_P}.map "${D}${TEXMF}/fonts/map/dvips/${MY_P}" + + latex-package_src_install +} + +pkg_postinst() { + latex-package_rehash + updmap-sys --enable Map ${MY_P}.map +} + +pkg_postrm() { + updmap-sys --disable ${MY_P}.map +} diff --git a/dev-tex/bera/metadata.xml b/dev-tex/bera/metadata.xml new file mode 100644 index 000000000000..7b4a61aab741 --- /dev/null +++ b/dev-tex/bera/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>tex@gentoo.org</email> + <name>Gentoo TeX Project</name> + </maintainer> +</pkgmetadata> |