forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada <[email protected]>
- Loading branch information
Showing
2 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
DIST pgf-3.1.4b-pgfmanual.pdf 10371181 BLAKE2B c619e56fd184fea8761175efed7130b37b10f719e04e87b40448a0a72641f2b7c6be0270ae0c2386d91caf06d9cd46f8eb3eb9293d8ff46d8f4a8400662cc1d8 SHA512 f18e836774b8ad8d7a2adb1c876e529240907b9a9c695ab6366d4bc321766106ced3085dc0d17394d6c19654a2232e10d782e93152c075f7915ffb2f0e09b680 | ||
DIST pgf-3.1.4b-revisioned.xz 244 BLAKE2B b394702704aa5b16549df795bc4cf04e5a81839a7694a1773dee89f4db66a286a276e48bf080f82e4fe3e55e3a6bf3983394ed84a83a372becc5b8f0738162a7 SHA512 4f5ca04317e58a191eaf7225fdd9a2ff70ad80d601951be98870f77da598ba559b464e2bd0ca4f03cf54c0ccd536925deb8bd6061b9464b36a883727ae85dc40 | ||
DIST pgf-3.1.4b.tar.gz 2426541 BLAKE2B 91f1b0ea1f2f3526da6a57cd2deec76b49b4204047b9dcdbeb064db48357055324ffe83bb5bd09dd8931a9c8e8768305a72b82ec77257e20badc543a5ca803b8 SHA512 4ba8d9c70d573ff69128d41b20525badf3a3bd0bbbf76ef3c2f2e54ccc05bc0bf1da1f20102df04f8188fe1733d469965228445e6c4af0611c2aa5737ed72180 | ||
DIST pgf-3.1.5b-pgfmanual.pdf 10531853 BLAKE2B 5bae5c0fa8a5427e93a779fecf76483ae3c29500a9637f4c1f22ef5d994fef20d64ece69fc78778c07095003e9b8c77b394f26cd649dfb0d6cc3efba63bb3937 SHA512 980e11182adf58b5a029bc807ef5e57110b566c836548df37aed9d2493803fa72bdead0b05220d844c9de8c416fd8439dcb9e9dc50626f15955f97ced3cb582c | ||
DIST pgf-3.1.5b-revisioned.xz 244 BLAKE2B 7072ba9a8f22bc26fda64dcdb9a272ed71a718d0c99b5ee53acdf14e472bc7bc220ffc3a7d95bbef221f44bad5f136f8247d69dcd8b22f3d6215fd9c59ea3b67 SHA512 09803852bea5768186fbee86390249a046a9c9e9b60624d02de7e8ea34789e3640ba762b17dd717fc751d869ca3b30cc66e7c4237746ddc1390c65e70ab97302 | ||
DIST pgf-3.1.5b.tar.gz 2597080 BLAKE2B 33b2ec65202d65a839db50ec084e0708d3f3b413e7bf1d09cf78d39bc2da1390b06a05f2e386de5f7a94c60634bf1e99354851245152c57bda67ecf20a980318 SHA512 a7473526746e8ba2485ece61f4b5dafb78d1714ba616fb7707ea22451f5b64c307474988ab6914a98e94773b7dc07492325c3e11037f3db2bf11f32396b8dc40 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 1999-2020 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
inherit latex-package | ||
|
||
DESCRIPTION="The TeX Portable Graphic Format" | ||
HOMEPAGE="https://github.com/pgf-tikz/pgf" | ||
SRC_URI=" https://github.com/pgf-tikz/pgf/archive/${PV}.tar.gz -> ${P}.tar.gz | ||
https://dev.gentoo.org/~zlogene/distfiles/${CATEGORY}/${PN}/${P}-revisioned.xz | ||
doc? ( https://github.com/pgf-tikz/pgf/releases/download/${PV}/pgfmanual.pdf -> ${P}-pgfmanual.pdf )" | ||
|
||
LICENSE="GPL-2 LPPL-1.3c FDL-1.2" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" | ||
IUSE="doc source" | ||
|
||
RDEPEND="dev-texlive/texlive-latexrecommended" | ||
|
||
src_install() { | ||
insinto "${TEXMF}" | ||
doins -r tex | ||
insinto "${TEXMF}"/tex/generic/${PN} | ||
newins "${WORKDIR}"/${P}-revisioned pgf.revision.tex | ||
|
||
if use source ; then | ||
doins -r source | ||
fi | ||
|
||
cd "${S}/doc/generic/pgf" || die | ||
dodoc AUTHORS ChangeLog README | ||
if use doc; then | ||
docinto texdoc | ||
# pgfmanual is now split from the main tar archive | ||
newdoc "${DISTDIR}/${P}-pgfmanual.pdf" pgfmanual.pdf | ||
doins -r images macros text-en version-* | ||
rm version-for-dvisvgm/en/color.cfg || die # bug 700056 | ||
|
||
dosym "../../../doc/${PF}/texdoc" "${TEXMF}/doc/latex/${PN}" | ||
docompress -x "/usr/share/doc/${P}/texdoc/" | ||
fi | ||
} |