1 |
commit: a8728ce732c23053ca278160ba51c76c08dc4ca3 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 20 05:06:24 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 20 05:06:24 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8728ce7 |
7 |
|
8 |
sys-apps/moar: add 1.13.0 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/moar/Manifest | 2 ++ |
13 |
sys-apps/moar/moar-1.13.0.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/moar/Manifest b/sys-apps/moar/Manifest |
17 |
index 70b13dff8acc..1b75e3b6dc9b 100644 |
18 |
--- a/sys-apps/moar/Manifest |
19 |
+++ b/sys-apps/moar/Manifest |
20 |
@@ -2,3 +2,5 @@ DIST moar-1.11.4-deps.tar.xz 25976728 BLAKE2B b1686e6608c8f27afa8704f7158a3d4848 |
21 |
DIST moar-1.11.4.tar.gz 2777910 BLAKE2B 7d192436c3c53200d8d29e7251d3f73b825b2a9364341d53d3b5a594d93c10bb5b1db4d9658adbce57d9fa111b140bd354c84211b776eb48fd2f27bda0f6dc77 SHA512 56fac97a8b897b4e9d086088153816b98b45897d4ddec173fbe25f8b3526207d7a3f8f7d5821dc1fc243acfad701c2920c6d4b68cdf513984bdcf5fbc4112268 |
22 |
DIST moar-1.12.0-deps.tar.xz 26291664 BLAKE2B ebc16cbe23c26eacd84376b6e99d7484c753a065edd26d3d0ed7708595de61d6038f53f27c1bdc05032576eb11be3e2cbedbf9bdd2ecf8f8d467fd89eaf0a580 SHA512 dfd236a76bf4bb680b25a938e08bbd6874a554e9668f73af23d695c20403d1967f89fbeebfd54bb333bd86a7ca3e652a8418c6b9ada212aeb861cce4a70f0faf |
23 |
DIST moar-1.12.0.tar.gz 2777752 BLAKE2B fa2f442e2b0e6d909e77be8df873c7b08a82b43d881583a7f1c4a3591f2bbe90b5adc77524b92e0fcf071ce4a1c18d8c58c7cce18807974fae7342148d7fbe28 SHA512 bfa15f5fd3ffa4146adec9110fbf8fd3bc31c95877f5e24ab911d1ef9e357dd41b46e2f466f2ce7d2fc986e463dcf2e1132c0a42ebfe2c46a8cd216355c4b98b |
24 |
+DIST moar-1.13.0-deps.tar.xz 4808044 BLAKE2B cd7808337af5acb2bd6cb4b9696c9d04803df033b5a1d4904418602dc629cef7c16172b0eaa57644be76a02b6727d36f767bfafba1377ea95eb827fbb4a1d34b SHA512 e51ca15137f4b5dc5ea447c200341aaeb06cd77118cd8f2fb3efca0ffc2d4199e00687f980803c4ff09c535621b58206b22bff2c944ad8786c73c3a7c886d6c6 |
25 |
+DIST moar-1.13.0.tar.gz 2778084 BLAKE2B 6f3dfc1b997c0176b57e613a822df4f25d7bb509ce245d3c9711bebc4dfccee4d423ce02dbf2845377b856a909cc9e5d8f88d9c65a85d8830bd713ef93729250 SHA512 fca30d496c2439cf5d1204eaa5c5114ef13522f38c8ddcc771ea45aee5faafb5aaf48a8947ff7d5846556130368625f47e851c2494489eb9371807eabb4c7c49 |
26 |
|
27 |
diff --git a/sys-apps/moar/moar-1.13.0.ebuild b/sys-apps/moar/moar-1.13.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000000..766ab4317b72 |
30 |
--- /dev/null |
31 |
+++ b/sys-apps/moar/moar-1.13.0.ebuild |
32 |
@@ -0,0 +1,33 @@ |
33 |
+# Copyright 2023 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit go-module |
39 |
+ |
40 |
+DESCRIPTION="A pager designed to do the right thing without any configuration" |
41 |
+HOMEPAGE="https://github.com/walles/moar" |
42 |
+SRC_URI=" https://github.com/walles/moar/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-deps.tar.xz" |
44 |
+ |
45 |
+LICENSE="BSD-2 BSD MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+RDEPEND="!dev-lang/moarvm" |
50 |
+ |
51 |
+src_compile() { |
52 |
+ # https://github.com/walles/moar/blob/master/build.sh#L28 |
53 |
+ ego build -ldflags="-w -X main.versionString=${PV}" -o moar |
54 |
+} |
55 |
+ |
56 |
+src_test() { |
57 |
+ # From test.sh (we don't run that because it has some linting etc) |
58 |
+ ego test -timeout 20s ./... |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ dobin moar |
63 |
+ doman moar.1 |
64 |
+ einstalldocs |
65 |
+} |