diff options
Diffstat (limited to 'sys-apps/moar')
-rw-r--r-- | sys-apps/moar/Manifest | 3 | ||||
-rw-r--r-- | sys-apps/moar/moar-1.18.0.ebuild | 41 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest index 82e5918bde02..d0ffd25f800a 100644 --- a/sys-apps/moar/Manifest +++ b/sys-apps/moar/Manifest @@ -2,6 +2,9 @@ DIST moar-1.16.2-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652 DIST moar-1.16.2.tar.gz 2782878 BLAKE2B f713e13f9729ab6fb17a1f297551b765ee4a19d1fd7ae2da949d489a37fb2e91c0958cfe4ce4c4a57339dedadc1b77d276464a87522ede1c451cc906ed9a4d51 SHA512 934696264082d72b202339d2b30b0f382cb7ef7a1b3985d5fb23f8dd81306c657c4bd24c59c1338a090a56ae2af53dc0d576f2c482b33f782f27434add50b222 DIST moar-1.17.1-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652c760818cdee66bb8475cc8949872c82be026c04b54cb61c0108c5977cb1f787f9a4fa0316bde0293cdedb1f6f94f8 SHA512 f40520a1b2e94f4a3e97d6a4e19191484b66e13a57c7b30416c813d84cad3d29295e862d5b75870313cc905112425c731d052619d49e78b33fb3d5d8750df3df DIST moar-1.17.1.tar.gz 2784584 BLAKE2B 486520a89969bde12bed683e28fd37a90d32b35ecc80261901595ccfe9d12deb26c307404ba0505919b1a35c237e07b59aa5469f04b51bd12d6e71e39571b648 SHA512 f502e930cf78c86eccacb4c23b1d4874bb39d5add2b36dbaa5426d269b5a315204782e1f539262f04adab510d177e374fcf9ff79df5ba2974f32e513e8d56fd6 +DIST moar-1.18.0-deps.tar.xz 4760036 BLAKE2B 6fd72d710a620fdf104766be84f3fa68652c760818cdee66bb8475cc8949872c82be026c04b54cb61c0108c5977cb1f787f9a4fa0316bde0293cdedb1f6f94f8 SHA512 f40520a1b2e94f4a3e97d6a4e19191484b66e13a57c7b30416c813d84cad3d29295e862d5b75870313cc905112425c731d052619d49e78b33fb3d5d8750df3df +DIST moar-1.18.0.tar.gz 2784174 BLAKE2B 3d9ee7fda27419b419f47bae3336d9f0d7ae48bbdad1fb8c501c85b4ea34aaaf6cf1c865f1b56d195ec6e129333d63e552d96b147fb9c26c739482a546d6286e SHA512 a76f19465d03deec8f778fda213be6ab33fdd48d309231f4f0ad0cdd8ea2facc41e2bdb1b74771c4a9ce3a31c30a72754f790e5eb9edb06e19d26fe3e224b507 EBUILD moar-1.16.2.ebuild 917 BLAKE2B aa1dde2fe5aa703f2e860ff05e2d5edb6521bb537143ff39432132e4340f3ba7609ff2a2b6f6a04f0c29f4d351ed587c1879eba36cd85bae4752828500d82131 SHA512 ce60b3e76cb7e8515760cdbf90728557fd5a9e2be4e3df816dbd6ad934506a826256f9560bd6968309c06c4a9dcaddcd4602d42984e5cea1b40b094418ea0f6e EBUILD moar-1.17.1.ebuild 917 BLAKE2B aa1dde2fe5aa703f2e860ff05e2d5edb6521bb537143ff39432132e4340f3ba7609ff2a2b6f6a04f0c29f4d351ed587c1879eba36cd85bae4752828500d82131 SHA512 ce60b3e76cb7e8515760cdbf90728557fd5a9e2be4e3df816dbd6ad934506a826256f9560bd6968309c06c4a9dcaddcd4602d42984e5cea1b40b094418ea0f6e +EBUILD moar-1.18.0.ebuild 917 BLAKE2B aa1dde2fe5aa703f2e860ff05e2d5edb6521bb537143ff39432132e4340f3ba7609ff2a2b6f6a04f0c29f4d351ed587c1879eba36cd85bae4752828500d82131 SHA512 ce60b3e76cb7e8515760cdbf90728557fd5a9e2be4e3df816dbd6ad934506a826256f9560bd6968309c06c4a9dcaddcd4602d42984e5cea1b40b094418ea0f6e MISC metadata.xml 316 BLAKE2B 19b5d071afbcad1f05744cca494156dc634f3fc35afaf4828dcf1e691e75a0f47f162b6cf548e5a333441f25327970f6a71d6acb436b60a68deeb7fb44659d45 SHA512 44155ffd972d79d47e41fe2ed38583e41eaaeb9f6b0de7e52b666930906f561e73d1f604acf602750ae1bed50e516dbbe36327b47ba2005813438e0d2db070e1 diff --git a/sys-apps/moar/moar-1.18.0.ebuild b/sys-apps/moar/moar-1.18.0.ebuild new file mode 100644 index 000000000000..091d314e2ac3 --- /dev/null +++ b/sys-apps/moar/moar-1.18.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Pager designed to do the right thing without any configuration" +HOMEPAGE="https://github.com/walles/moar" +SRC_URI="https://github.com/walles/moar/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" + +LICENSE="BSD-2 BSD MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="!dev-lang/moarvm" +BDEPEND=" + test? ( + app-arch/bzip2 + app-arch/xz-utils + ) +" + +src_compile() { + # https://github.com/walles/moar/blob/master/build.sh#L28 + ego build -ldflags="-w -X main.versionString=${PV}" -o moar +} + +src_test() { + # From test.sh (we don't run that because it has some linting etc) + ego test -timeout 20s ./... +} + +src_install() { + dobin moar + doman moar.1 + einstalldocs +} |