sys-apps/inxi: unpack before doman.
authorJonas Stein <jstein@gentoo.org>
Tue, 30 May 2017 16:30:35 +0000 (18:30 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 30 Jun 2017 13:17:49 +0000 (15:17 +0200)
Gentoo-Bug: https://bugs.gentoo.org/619970

* unpack manpage before doman
* general ebuild upkeep

Closes: https://github.com/gentoo/gentoo/pull/4811

sys-apps/inxi/inxi-2.3.0_p20160807-r1.ebuild [new file with mode: 0644]
sys-apps/inxi/inxi-2.3.0_p20160807.ebuild [deleted file]
sys-apps/inxi/inxi-2.3.4_p20161104-r1.ebuild [new file with mode: 0644]
sys-apps/inxi/inxi-2.3.4_p20161104.ebuild [deleted file]

diff --git a/sys-apps/inxi/inxi-2.3.0_p20160807-r1.ebuild b/sys-apps/inxi/inxi-2.3.0_p20160807-r1.ebuild
new file mode 100644 (file)
index 0000000..09afef7
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_COMMIT=c2a22b3e2590d896d4b0a8fd298f505cc1d787f5 #because upstream refuses to tag commits with version numbers
+
+DESCRIPTION="The CLI inxi collects and prints hardware and system information"
+HOMEPAGE="https://github.com/smxi/inxi"
+SRC_URI="https://github.com/smxi/${PN}/tarball/${MY_COMMIT} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=app-shells/bash-3.0
+       sys-apps/pciutils
+       sys-apps/usbutils
+       "
+S="${WORKDIR}/smxi-${PN}-${MY_COMMIT:0:7}"
+
+src_install() {
+       dobin "${PN}"
+       unpack "./${PN}.1.gz"
+       doman "${PN}.1"
+}
diff --git a/sys-apps/inxi/inxi-2.3.0_p20160807.ebuild b/sys-apps/inxi/inxi-2.3.0_p20160807.ebuild
deleted file mode 100644 (file)
index 6a87c61..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_COMMIT=c2a22b3e2590d896d4b0a8fd298f505cc1d787f5 #because upstream refuses to tag commits with version numbers
-MY_SHORTCOMMIT=${MY_COMMIT:0:7}
-
-DESCRIPTION="Commandline script to print hardware information for irc and administration."
-
-HOMEPAGE="https://github.com/smxi/inxi"
-SRC_URI="https://github.com/smxi/${PN}/tarball/${MY_COMMIT} -> ${P}.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-shells/bash-3.0
-       sys-apps/pciutils
-       "
-
-S="${WORKDIR}/smxi-${PN}-${MY_SHORTCOMMIT}"
-
-src_install() {
-       dobin ${PN}
-       doman ${PN}.1.gz
-}
-
-pkg_postinst() {
-       einfo "To view a short or full system information."
-       einfo "inxi -b for short information."
-       einfo "inxi -F for full information."
-       einfo "inxi provides seven verbose levels -v1 to -v7."
-       einfo "inxi -h for help."
-}
diff --git a/sys-apps/inxi/inxi-2.3.4_p20161104-r1.ebuild b/sys-apps/inxi/inxi-2.3.4_p20161104-r1.ebuild
new file mode 100644 (file)
index 0000000..619a8b5
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_COMMIT=89e18d245bc34fc5be5f5baddac2ccd8106be050  #because upstream refuses to tag commits with version numbers
+
+DESCRIPTION="The CLI inxi collects and prints hardware and system information"
+HOMEPAGE="https://github.com/smxi/inxi"
+SRC_URI="https://github.com/smxi/${PN}/tarball/${MY_COMMIT} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=app-shells/bash-3.0
+       sys-apps/pciutils
+       sys-apps/usbutils
+       "
+S="${WORKDIR}/smxi-${PN}-${MY_COMMIT:0:7}"
+
+src_install() {
+       dobin "${PN}"
+       unpack "./${PN}.1.gz"
+       doman "${PN}.1"
+}
diff --git a/sys-apps/inxi/inxi-2.3.4_p20161104.ebuild b/sys-apps/inxi/inxi-2.3.4_p20161104.ebuild
deleted file mode 100644 (file)
index ed3ef56..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_COMMIT=89e18d245bc34fc5be5f5baddac2ccd8106be050  #because upstream refuses to tag commits with version numbers
-MY_SHORTCOMMIT=${MY_COMMIT:0:7}
-
-DESCRIPTION="Commandline script to print hardware information for irc and administration"
-
-HOMEPAGE="https://github.com/smxi/inxi"
-SRC_URI="https://github.com/smxi/${PN}/tarball/${MY_COMMIT} -> ${P}.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=">=app-shells/bash-3.0
-       sys-apps/pciutils
-       "
-
-S="${WORKDIR}/smxi-${PN}-${MY_SHORTCOMMIT}"
-
-src_install() {
-       dobin "${PN}"
-       doman "${PN}.1.gz"
-}
-
-pkg_postinst() {
-       einfo "To view a short or full system information:"
-       einfo "  inxi -b for short information."
-       einfo "  inxi -F for full information."
-       einfo "inxi provides seven verbose levels -v1 to -v7."
-       einfo "Type inxi -h for help."
-}