summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/genfstab')
-rw-r--r--sys-fs/genfstab/Manifest2
-rw-r--r--sys-fs/genfstab/genfstab-24.ebuild27
-rw-r--r--sys-fs/genfstab/genfstab-29.ebuild39
3 files changed, 40 insertions, 28 deletions
diff --git a/sys-fs/genfstab/Manifest b/sys-fs/genfstab/Manifest
index 2c0a26c64bed..0e37b43b7ddb 100644
--- a/sys-fs/genfstab/Manifest
+++ b/sys-fs/genfstab/Manifest
@@ -1,2 +1,2 @@
DIST arch-install-scripts-v28.tar.gz 19730 BLAKE2B 0ff5ba79b200ad642e049ec19217cc5c0794d627a28f42e03c0df2444fef4d8488a6ee011d26fb8fe958c1a1a2fa0a13920567e394b2389c772f516b1fe8f388 SHA512 09a027b04b70e01ccd1fd82e3a443c876bdf978b94a922de9dea4dbc187360460ea35720816724b72fc31b02338b11bf39b47ec9156518a8a3ade000530bf1df
-DIST genfstab-24.gh.tar.gz 17916 BLAKE2B 07246efbde341dce7dc624c467e3f0bd849bccec46cd27f90f132960526674f44554b1ae7ac89e2d1f603567db4058f8dd465f54297071e89f65845ba07c6499 SHA512 0391bf93fc7c6ef0acefc3a0ce314d8c52542d519e4f88198734d90db9fc9ef23310c0c414c0940703fb6c0f74f6d8f23d1795bb3eed2b2a8ff5a594f00b63e4
+DIST arch-install-scripts-v29.tar.bz2 19418 BLAKE2B 733d326fd5b2948fc30d4c8e4752e855b8babe73698019825bf828334d07e0c3527534d5f58248f701b6aeda41425c2c6869da77506be891a493c3871f3c5e1f SHA512 39239dcdcdf8cf9ef72b7a16f2c42133baa8791c9d2753a35818236d92a0327d0aacd399013a06548739000556481ce6608106280f185006140fea9468157066
diff --git a/sys-fs/genfstab/genfstab-24.ebuild b/sys-fs/genfstab/genfstab-24.ebuild
deleted file mode 100644
index 702066b4d0b9..000000000000
--- a/sys-fs/genfstab/genfstab-24.ebuild
+++ /dev/null
@@ -1,27 +0,0 @@
-# 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/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
-}
diff --git a/sys-fs/genfstab/genfstab-29.ebuild b/sys-fs/genfstab/genfstab-29.ebuild
new file mode 100644
index 000000000000..0c5a2ce911a1
--- /dev/null
+++ b/sys-fs/genfstab/genfstab-29.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit shell-completion
+
+DESCRIPTION="Genfstab - generate output suitable for addition to an fstab file"
+HOMEPAGE="https://gitlab.archlinux.org/archlinux/arch-install-scripts https://man.archlinux.org/man/genfstab.8"
+SRC_URI="https://gitlab.archlinux.org/archlinux/arch-install-scripts/-/archive/v${PV}/arch-install-scripts-v${PV}.tar.bz2"
+
+S="${WORKDIR}/arch-install-scripts-v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ app-alternatives/awk
+ app-text/asciidoc
+ sys-devel/m4
+"
+
+src_test() {
+ emake MANS="doc/genfstab.8" BINPROGS="genfstab" check
+}
+
+src_compile() {
+ emake MANS="doc/genfstab.8" BINPROGS="genfstab"
+}
+
+src_install() {
+ dobin genfstab
+ doman doc/genfstab.8
+ newbashcomp completion/bash/genfstab genfstab
+ newzshcomp completion/zsh/_genfstab _genfstab
+}