1 |
commit: 77b631651a08f839e07ae5db0491d14ccfb6be75 |
2 |
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org> |
3 |
AuthorDate: Tue Sep 7 00:32:50 2021 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Tue Sep 7 00:32:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=77b63165 |
7 |
|
8 |
app-text/smu: initial import |
9 |
|
10 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
11 |
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org> |
12 |
|
13 |
app-text/smu/Manifest | 1 + |
14 |
app-text/smu/metadata.xml | 10 ++++++++++ |
15 |
app-text/smu/smu-1.5.ebuild | 31 +++++++++++++++++++++++++++++++ |
16 |
app-text/smu/smu-9999.ebuild | 31 +++++++++++++++++++++++++++++++ |
17 |
4 files changed, 73 insertions(+) |
18 |
|
19 |
diff --git a/app-text/smu/Manifest b/app-text/smu/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000..45f7f7124 |
22 |
--- /dev/null |
23 |
+++ b/app-text/smu/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST smu-1.5.tar.gz 8552 BLAKE2B 1539c32c1a3a63d47541d226de5b60946d0cb85460fa01e8f9562f82aa546f2815403027932e5d18d875f6c54db181354cb0a5036369f2b8519c0af6033f61b4 SHA512 243f6896e34acf3a21dc5b55e4aa0f99bf417917b20716d3e9997a33320e7151ecc9e889e26d87bd7be3da38b964ed496e149a7d0e4236124e000d030939a8d4 |
26 |
|
27 |
diff --git a/app-text/smu/metadata.xml b/app-text/smu/metadata.xml |
28 |
new file mode 100644 |
29 |
index 000000000..7b84464c5 |
30 |
--- /dev/null |
31 |
+++ b/app-text/smu/metadata.xml |
32 |
@@ -0,0 +1,10 @@ |
33 |
+<?xml version="1.0" encoding="UTF-8"?> |
34 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
35 |
+<pkgmetadata> |
36 |
+ <maintainer type="person"> |
37 |
+ <email>nrk@×××××××.org</email> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <remote-id type="github">Gottox/smu</remote-id> |
41 |
+ </upstream> |
42 |
+</pkgmetadata> |
43 |
|
44 |
diff --git a/app-text/smu/smu-1.5.ebuild b/app-text/smu/smu-1.5.ebuild |
45 |
new file mode 100644 |
46 |
index 000000000..dee873a6c |
47 |
--- /dev/null |
48 |
+++ b/app-text/smu/smu-1.5.ebuild |
49 |
@@ -0,0 +1,31 @@ |
50 |
+# Copyright 1999-2021 Gentoo Authors |
51 |
+# Distributed under the terms of the GNU General Public License v2 |
52 |
+ |
53 |
+EAPI=8 |
54 |
+ |
55 |
+if [[ ${PV} == 9999 ]]; then |
56 |
+ inherit git-r3 |
57 |
+ EGIT_REPO_URI="https://github.com/Gottox/${PN}.git" |
58 |
+else |
59 |
+ KEYWORDS="~amd64" |
60 |
+ SRC_URI="https://github.com/Gottox/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
61 |
+fi |
62 |
+ |
63 |
+DESCRIPTION="Simple markup - markdown like syntax" |
64 |
+HOMEPAGE="https://github.com/Gottox/smu" |
65 |
+ |
66 |
+LICENSE="MIT" |
67 |
+SLOT="0" |
68 |
+ |
69 |
+src_prepare() { |
70 |
+ default |
71 |
+ sed -i \ |
72 |
+ -e '/^CFLAGS/ s|-g -O0 ||;s|-Werror ||;s|^CFLAGS =|CFLAGS +=|;' \ |
73 |
+ -e '/^LDFLAGS/ s|^LDFLAGS =|LDFLAGS +=|' \ |
74 |
+ config.mk || die "sed failed" |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install |
79 |
+ dodoc "documentation" |
80 |
+} |
81 |
|
82 |
diff --git a/app-text/smu/smu-9999.ebuild b/app-text/smu/smu-9999.ebuild |
83 |
new file mode 100644 |
84 |
index 000000000..72ebfc1d5 |
85 |
--- /dev/null |
86 |
+++ b/app-text/smu/smu-9999.ebuild |
87 |
@@ -0,0 +1,31 @@ |
88 |
+# Copyright 1999-2021 Gentoo Authors |
89 |
+# Distributed under the terms of the GNU General Public License v2 |
90 |
+ |
91 |
+EAPI=8 |
92 |
+ |
93 |
+if [[ ${PV} == 9999 ]]; then |
94 |
+ inherit git-r3 |
95 |
+ EGIT_REPO_URI="https://github.com/Gottox/smu.git" |
96 |
+else |
97 |
+ SRC_URI="https://github.com/Gottox/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
98 |
+ KEYWORDS="~amd64" |
99 |
+fi |
100 |
+ |
101 |
+DESCRIPTION="Simple markup - markdown like syntax" |
102 |
+HOMEPAGE="https://github.com/Gottox/smu" |
103 |
+ |
104 |
+LICENSE="MIT" |
105 |
+SLOT="0" |
106 |
+ |
107 |
+src_prepare() { |
108 |
+ default |
109 |
+ sed -i \ |
110 |
+ -e '/^CFLAGS/ s|-g -O0 ||;s|-Werror ||;s|^CFLAGS =|CFLAGS +=|;' \ |
111 |
+ -e '/^LDFLAGS/ s|^LDFLAGS =|LDFLAGS +=|' \ |
112 |
+ config.mk || die "sed failed" |
113 |
+} |
114 |
+ |
115 |
+src_install() { |
116 |
+ emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install |
117 |
+ dodoc "documentation" |
118 |
+} |