mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-i18n/man-pages-fr: revbump and adoption
- change URI because the previous one is down: build from GitLab repo - adopt package: update metadata.xml - change LICENSE variable (sys-apps/man-pages) - ebuild handles unpacking Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com> Package-Manager: Portage-2.3.66, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/12380 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
committed by
Michał Górny
parent
a2d9ca5c7d
commit
494e75cc32
@@ -1 +1,4 @@
|
||||
DIST man-pages-3.70.tar.xz 1266044 BLAKE2B 00aa14ac7c9aafb9883713c4d13fe9318cf10cfe844663226bcd374b0a77b8b8a60cefeada7ca058f9d4e8b4e1056f4c8c6d762f46507f08f454bbe450f49fe3 SHA512 3e5590fe5181a914bb49531b7786eefc9d13d1ce1e3a80b09500dfc31a7fa01543f36c44484194613d2c87b840e4bdd9774eedc67251d3378014698078cb3ca3
|
||||
DIST man-pages-fr-3.70-1-r1.tar.gz 4669973 BLAKE2B 2fd32c5e922f8d74dbec74724c9acb8f5fdc0fd7a88f4687465713b22ddee5589b4a54383bdf14eb76076538e9d28a20ffdac2415c521b21e21f5186606121d6 SHA512 002ca3b7066437ce3a42f9c0396940ffc8593d2acdd05a3150c54b8d1f272ef6a448a18e6f3de0f90ac6eb4e616c132eb4e11e3e052b2e6f83a820a7d56f32d1
|
||||
DIST man-pages-fr-3.70-1.tar.xz 1143156 BLAKE2B 09a86733caf03246e530e898688d0f93ef401a74cc66eb1f5ee05ded5dee0be45fc27fcbcf458f2c5a3286a6655c7b7302eb1b2759be6e0205e69db95ce989dc SHA512 7bb6991b2278c898d67d465ebe434dc3a969e9ec5c962ed6b6fdb41e66121a1924573f529d310adf30cd8494515888627b3226f26b906452a8882c4851c290d8
|
||||
DIST perkamon-man-pages-3.70.tar.gz 24292 BLAKE2B 60848a93d95c1eedc50b10a4b8cfd68c3847ae5e6d13de06058f1c89218d953f68f5428fe3d422c11078f80a5bcb678abd51388b6ee4ea20c2db2e9a87fc51e6 SHA512 648f16c958d1ed5933da1e971f94391761cad94414eb4d0d3eee612f9cabef3a56f07c5f83b72be3f98d49a9956d3ccceb1568ea76572f6d4a6fb8b50a8225a5
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
diff --git a/Makefile.old b/Makefile
|
||||
index a4e4285..b3b3690 100644
|
||||
--- a/Makefile.old
|
||||
+++ b/Makefile
|
||||
@@ -39,7 +39,7 @@ stamp-unpack-git:
|
||||
touch $@
|
||||
|
||||
setup: stamp-setup
|
||||
-stamp-setup: stamp-unpack
|
||||
+stamp-setup:
|
||||
$(MAKE) -C perkamon setup
|
||||
mv perkamon/build .
|
||||
touch $@
|
||||
diff --git a/perkamon/Makefile.old b/perkamon/Makefile
|
||||
index 3a3aa32..57e532c 100644
|
||||
--- a/perkamon/Makefile.old
|
||||
+++ b/perkamon/Makefile
|
||||
@@ -99,7 +99,7 @@ stamp-unpack-git:
|
||||
# Prepare sources for being used by po4a.
|
||||
# This target is called once after manual pages are unpacked.
|
||||
setup: stamp-setup
|
||||
-stamp-setup: stamp-unpack
|
||||
+stamp-setup:
|
||||
-rm -rf build
|
||||
mkdir -p build/C
|
||||
for i in $$(seq 8); do mkdir build/C/man$$i; done
|
||||
50
app-i18n/man-pages-fr/man-pages-fr-3.70-r1.ebuild
Normal file
50
app-i18n/man-pages-fr/man-pages-fr-3.70-r1.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PV="${PV}-1"
|
||||
DESCRIPTION="A somewhat comprehensive collection of French Linux man pages"
|
||||
HOMEPAGE="https://traduc.org/perkamon"
|
||||
|
||||
SRC_URI="
|
||||
https://gitlab.com/perkamon/${PN}/-/archive/${MY_PV}/${PN}-${MY_PV}.tar.gz -> ${PN}-${MY_PV}-${PR}.tar.gz
|
||||
https://gitlab.com/perkamon/man-pages/-/archive/${PV}/man-pages-${PV}.tar.gz -> perkamon-man-pages-${PV}.tar.gz
|
||||
https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/Archive/man-pages-${PV}.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="BSD GPL-2+ man-pages"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
BDEPEND="app-text/po4a"
|
||||
|
||||
RDEPEND="virtual/man"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PF}-fix-unpack.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
unpack "${PN}-${MY_PV}-${PR}.tar.gz"
|
||||
|
||||
cd "${S}" || die
|
||||
unpack "perkamon-man-pages-${PV}.tar.gz"
|
||||
mv "man-pages-${PV}" "perkamon" || die
|
||||
|
||||
cd "perkamon" || die
|
||||
unpack "man-pages-${PV}.tar.xz"
|
||||
mv "man-pages-${PV}" "man-pages" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake translate
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
|
||||
doman -i18n=fr build/fr/man*/*
|
||||
}
|
||||
@@ -1,5 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>beatussum@protonmail.com</email>
|
||||
<name>Mattéo Rossillol‑‑Laruelle</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<name>perkamon</name>
|
||||
</maintainer>
|
||||
<remote-id type="gitlab">perkamon/man-pages-fr</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user