www-client/makeicecat: add makeicecat
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
aa610bab00
commit
b1fbc0e4d0
1
www-client/makeicecat/Manifest
Normal file
1
www-client/makeicecat/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST makeicecat-78.8.0.tar.gz 8005933 BLAKE2B 36f93274f6f23f83d22ffe1c3a6cf8bc018644d133d6e0ba94f2bc5d56f4113eef741340b30e15fc10fedef1d2ef2a968dea6ca1f47f4bec01034d8209254a04 SHA512 95c8c5b8b2f1c9d567dad167f8d209b6b8e997d0b59b1ede13d5738f73f768a9a3d2a517535fbbf5265e6d4403008917d18a85ed138da64fae116e6f8673f7f8
|
52
www-client/makeicecat/makeicecat-78.8.0.ebuild
Normal file
52
www-client/makeicecat/makeicecat-78.8.0.ebuild
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="Script for creating GNU Icecat tarball"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/gnuzilla/"
|
||||||
|
|
||||||
|
COMMIT="d5df5618fbf6f6ea0c49b6bfdcb098846d2cd777"
|
||||||
|
|
||||||
|
SRC_URI="https://git.savannah.gnu.org/cgit/gnuzilla.git/snapshot/gnuzilla-"${COMMIT}".tar.gz -> "${P}".tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
IUSE="+buildtarball"
|
||||||
|
|
||||||
|
RESTRICT="buildtarball? ( network-sandbox )"
|
||||||
|
|
||||||
|
RDEPEND="${BDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
dev-vcs/mercurial
|
||||||
|
dev-perl/File-Rename
|
||||||
|
"
|
||||||
|
|
||||||
|
S=""${WORKDIR}"/gnuzilla-"${COMMIT}""
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
if use buildtarball; then
|
||||||
|
./makeicecat || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/makeicecat-"${PV}"
|
||||||
|
doins -r "${S}"/{artwork,CHANGELOG,COPYING,data,makeicecat,README,tools}
|
||||||
|
fperms +x /usr/share/makeicecat-"${PV}"/{makeicecat,tools/{AddonsScraper.py,buildbinaries,createdebsrcrepo,gnupload}}
|
||||||
|
if use buildtarball; then
|
||||||
|
insinto /usr/share/makeicecat-"${PV}"/output
|
||||||
|
doins "${S}"/output/icecat-"${PV}"-gnu1.tar.bz2
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if ! use buildtarball; then
|
||||||
|
einfo "You haven't enabled buildtarball, therefore you have to create the tarball yourself."
|
||||||
|
einfo "You can create the tarball in /usr/share/makeicecat-"${PV}" by starting the script manually."
|
||||||
|
einfo " ./makeicecat"
|
||||||
|
einfo "It will take a while so be prepared."
|
||||||
|
fi
|
||||||
|
}
|
7
www-client/makeicecat/metadata.xml
Normal file
7
www-client/makeicecat/metadata.xml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<use>
|
||||||
|
<flag name="buildtarball">Build GNU IceCat tarball with makeicecat script</flag>
|
||||||
|
</use>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user