summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinqiang zhang <peeweep@0x0.ee>2023-02-24 16:20:20 +0000
committerSam James <sam@gentoo.org>2023-02-24 16:54:19 +0000
commitb96d2a7f34c03c7e909aff1c2cf1b61880033503 (patch)
treee9ebc72aec3b116eedda19c619c0cf007c5bcdea /sys-fs/genfstab
parentapp-text/xiphos: update upstream metadata (diff)
downloadgentoo-b96d2a7f34c03c7e909aff1c2cf1b61880033503.tar.gz
gentoo-b96d2a7f34c03c7e909aff1c2cf1b61880033503.tar.bz2
gentoo-b96d2a7f34c03c7e909aff1c2cf1b61880033503.zip
sys-fs/genfstab: update HOMEPAGE, SRC_URI
Forward genfstab-28 change c5027d8a to stable. Signed-off-by: jinqiang zhang <peeweep@0x0.ee> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/genfstab')
-rw-r--r--sys-fs/genfstab/Manifest2
-rw-r--r--sys-fs/genfstab/genfstab-24.ebuild20
2 files changed, 17 insertions, 5 deletions
diff --git a/sys-fs/genfstab/Manifest b/sys-fs/genfstab/Manifest
index 0d2d4bb4e161..07e5369c06ff 100644
--- a/sys-fs/genfstab/Manifest
+++ b/sys-fs/genfstab/Manifest
@@ -1,2 +1,2 @@
-DIST genfstab-24.tar.gz 14281 BLAKE2B 93987794ba12e08daefd20ef596e915a70a11a9e641470b6f93873b738b4c4bb22f808513c63e7675cade43b992f308d26f3a2db0b211e99518a3d3702d6b897 SHA512 8c4d40e98b7a35abcd5fb2bf496722aa65819e4124a37385090fa70b55118ea3590ecb4e16f117bf93118a36bf402c4616ba0cb1837869b11db54a827332c661
+DIST genfstab-24.gh.tar.gz 17916 BLAKE2B 07246efbde341dce7dc624c467e3f0bd849bccec46cd27f90f132960526674f44554b1ae7ac89e2d1f603567db4058f8dd465f54297071e89f65845ba07c6499 SHA512 0391bf93fc7c6ef0acefc3a0ce314d8c52542d519e4f88198734d90db9fc9ef23310c0c414c0940703fb6c0f74f6d8f23d1795bb3eed2b2a8ff5a594f00b63e4
DIST genfstab-28.gh.tar.gz 19736 BLAKE2B bf7bdff39ac113f2f05222b77b3258eba08c399ffec25e6a7125873d1ba1d04309cca6eba2196294a07addfd4c0fe4beee3944a268eb9c135675362506773ac5 SHA512 dc4d457727884c2e5220c3fc4dcea4ea9ebce8e8dceff7473753f3fcbd3fd4c3014c46ea439508e921a5f96d588913ff0ce9bcd813bc37aa16862d1bc0268c5f
diff --git a/sys-fs/genfstab/genfstab-24.ebuild b/sys-fs/genfstab/genfstab-24.ebuild
index a3a79dc071e4..702066b4d0b9 100644
--- a/sys-fs/genfstab/genfstab-24.ebuild
+++ b/sys-fs/genfstab/genfstab-24.ebuild
@@ -1,15 +1,27 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit bash-completion-r1
+
DESCRIPTION="Genfstab - generate output suitable for addition to an fstab file"
-HOMEPAGE="https://github.com/scardracs/genfstab https://man.archlinux.org/man/genfstab.8"
-SRC_URI="https://github.com/scardracs/genfstab/releases/download/${PV}/${P}.tar.gz"
-S="${WORKDIR}"
+HOMEPAGE="https://github.com/archlinux/arch-install-scripts https://man.archlinux.org/man/genfstab.8"
+SRC_URI="https://github.com/archlinux/arch-install-scripts/archive/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/arch-install-scripts-tags-v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
BDEPEND="app-text/asciidoc"
+
+src_compile() {
+ emake MANS="doc/genfstab.8" BINPROGS="genfstab"
+}
+
+src_install() {
+ dobin genfstab
+ doman doc/genfstab.8
+ newbashcomp completion/genfstab.bash genfstab
+}