aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstroFloyd <AstroFloyd@gmail.com>2015-10-31 16:19:37 +0100
committerAstroFloyd <AstroFloyd@gmail.com>2015-10-31 16:19:37 +0100
commit0cc8ab9f69051742824d6ddcdf42a8320ccd79da (patch)
treea32531503df8260d292f27d60040e2e4ba2d4ad9
parentx11-libs/qwtpolar: revision bump to v1.1.1-r3 (diff)
downloadAstroFloyd-0cc8ab9f69051742824d6ddcdf42a8320ccd79da.tar.gz
AstroFloyd-0cc8ab9f69051742824d6ddcdf42a8320ccd79da.tar.bz2
AstroFloyd-0cc8ab9f69051742824d6ddcdf42a8320ccd79da.zip
dev-vcs/pro-git-html: Initial ebuild (v.904)
Package-Manager: portage-2.2.20.1
-rw-r--r--dev-vcs/pro-git-html/ChangeLog10
-rw-r--r--dev-vcs/pro-git-html/Manifest4
-rw-r--r--dev-vcs/pro-git-html/metadata.xml9
-rw-r--r--dev-vcs/pro-git-html/pro-git-html-904.ebuild34
4 files changed, 57 insertions, 0 deletions
diff --git a/dev-vcs/pro-git-html/ChangeLog b/dev-vcs/pro-git-html/ChangeLog
new file mode 100644
index 0000000..90b3677
--- /dev/null
+++ b/dev-vcs/pro-git-html/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-vcs/pro-git-html
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Id$
+
+*pro-git-html-904 (31 Oct 2015)
+
+ 31 Oct 2015; AstroFloyd <AstroFloyd@gmail.com> +pro-git-html-904.ebuild,
+ +metadata.xml:
+ Initial ebuild, v.904
+
diff --git a/dev-vcs/pro-git-html/Manifest b/dev-vcs/pro-git-html/Manifest
new file mode 100644
index 0000000..1c4c56b
--- /dev/null
+++ b/dev-vcs/pro-git-html/Manifest
@@ -0,0 +1,4 @@
+DIST progit-en.904.zip 8986145 SHA256 de73caab2d0c7299ecd50f85377360fcfb356a374aeb5964823585e7a9cbea0b SHA512 6564764236a59194ecd43adad5090c1746c09137f8dc8dc9cd63670421ac6fd6e7e0604d1afc94e6d55969a1b6bb6076e252e0e926624752fb6b6a7bb7b11eed WHIRLPOOL 1862401339c73b5f709916e853a0e3c721c2ee0f6b7cb86fd230465a40cbede9371141dd15ff1e1a4eb9d5b361e4f65b32f5822e1b2fd042d236432d9acc6472
+EBUILD pro-git-html-904.ebuild 1050 SHA256 9116756aa2a94acecbfd5af2888b4a619b995360a028b381b7c9b31c3ba4b01c SHA512 fbac8cd1b194d6c5d3aba1ef9f51114191cf0f51f39c4d91756787bcc34a07cc998cef364f699013357a17dd8396d0dd609f8aae2fbc63d461adeb12484c10ca WHIRLPOOL de020d8fd301de56a905acbf13b8198ac24237e9fb5c0bb18652c62fe064f7ef4a19418a42bf5c8cfee5c808eff6b35283a35b332587bf9ca52a3a9a9d2f85d9
+MISC ChangeLog 265 SHA256 6ed2de771e04517eed508d2715f80b3a6f3baeb7b9ede53d0a215bc054f941af SHA512 66401fa1683b90ddc719e27947a35ef1eee21caee430a365f90661c5976ee5df8c440f884e02886ea6d3751c5ba929ee6c7554b70c9fd42396c5d74c5b7683a7 WHIRLPOOL 03e4a26edb746e069b6d710b5e7e8b747acb89f499bbf8e81eb9f606d4834a2f1a7f84cacfc2966320422f3116b74ed3240df7846b4014f023f2de294475db13
+MISC metadata.xml 332 SHA256 8522b023167d1615e16c387c0c72fb3da2ecaf324b9916a6ff8bc613ca0f2b7c SHA512 acf7ccb3af9a3be87060f7065f6af2ddbf21bcb3ca5b5ebdc1905ec5fa448ed2332b8e9df28ba5041478b3bba374f75cd0bc14f16963f3adba09e10287266ae4 WHIRLPOOL 790a1ae43daa524963c06ea1e35250934b96d19be0f9f025d93aefbef3b9e992dc857e8b6ba009beb984e88154348fefe233354c0b4beff7843f44449cb7b597
diff --git a/dev-vcs/pro-git-html/metadata.xml b/dev-vcs/pro-git-html/metadata.xml
new file mode 100644
index 0000000..7614a0a
--- /dev/null
+++ b/dev-vcs/pro-git-html/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>AstroFloyd@gmail.com</email>
+ <name>AstroFloyd</name>
+ </maintainer>
+ <longdescription>HTML version of the Pro Git book by Scott Chacon and Ben Straub</longdescription>
+</pkgmetadata>
diff --git a/dev-vcs/pro-git-html/pro-git-html-904.ebuild b/dev-vcs/pro-git-html/pro-git-html-904.ebuild
new file mode 100644
index 0000000..edcd9d5
--- /dev/null
+++ b/dev-vcs/pro-git-html/pro-git-html-904.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Pro Git: an open-source book on Git by Scott Chacon and Ben Straub (English HTML version)"
+HOMEPAGE="https://progit.org/"
+SRC_URI="https://progit2.s3.amazonaws.com/en/2015-10-27-6c452/progit-en.904.zip"
+
+LICENSE="CC-BY-NC-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+src_prepare() {
+ # Get rid of unneeded files:
+ rm -rf *.json Gemfile* diagram-source Rakefile theme/epub theme/mobi theme/pdf
+
+ # Fix some HTML brackets:
+ sed -i -e 's:<code class="p">\&amp;<\/code>lt<code class="p">;:\&lt;:g' *.html || die "sed failed"
+ sed -i -e 's:<code class="p">\&amp;<\/code>gt<code class="p">;:\&gt;:g' *.html || die "sed failed"
+ sed -i -e 's:\&amp;lt;:\&lt;:g' *.html || die "sed failed"
+ sed -i -e 's:\&amp;gt;:\&gt;:g' *.html || die "sed failed"
+}
+
+# Install the data files as well as the libraries:
+src_install() {
+ insinto /usr/share/doc/pro-git
+ doins -r "${WORKDIR}"/*
+}