1 |
commit: c9fd8e8130d05124891d952b3c1799d55a9dc04b |
2 |
Author: Maciej Barć <xgqt <AT> riseup <DOT> net> |
3 |
AuthorDate: Sat Aug 21 12:04:03 2021 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> riseup <DOT> net> |
5 |
CommitDate: Sat Aug 21 12:04:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9fd8e81 |
7 |
|
8 |
app-misc/fmawk: new package; add version 1.0 and live |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net> |
12 |
|
13 |
app-misc/fmawk/Manifest | 1 + |
14 |
app-misc/fmawk/fmawk-1.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ |
15 |
app-misc/fmawk/fmawk-9999.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ |
16 |
app-misc/fmawk/metadata.xml | 13 +++++++++++++ |
17 |
4 files changed, 90 insertions(+) |
18 |
|
19 |
diff --git a/app-misc/fmawk/Manifest b/app-misc/fmawk/Manifest |
20 |
new file mode 100644 |
21 |
index 000000000..ca8e4f0d2 |
22 |
--- /dev/null |
23 |
+++ b/app-misc/fmawk/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST fmawk-1.0.tar.gz 22346 BLAKE2B 34068288fd5c79ec2296a5763d7fdb67af17d688a4f0d3341b861160a15d6e5ca078b7bcf4382dec388ae19518cc963379b045e7d56f974f43608e4fb4ee5ede SHA512 33ea389bcf8bd025bf3fd5a7a8f39ea48c2748349f55ff0c855ba2f6c782e1a793d670aecff3fe23b38f91f33a0346729e791853b28ed8d127e3858e4e099068 |
26 |
|
27 |
diff --git a/app-misc/fmawk/fmawk-1.0.ebuild b/app-misc/fmawk/fmawk-1.0.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..b6061c618 |
30 |
--- /dev/null |
31 |
+++ b/app-misc/fmawk/fmawk-1.0.ebuild |
32 |
@@ -0,0 +1,38 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit optfeature |
39 |
+ |
40 |
+DESCRIPTION="File manager written in awk" |
41 |
+HOMEPAGE="https://github.com/huijunchen9260/fm.awk/" |
42 |
+ |
43 |
+if [[ "${PV}" == *9999* ]]; then |
44 |
+ inherit git-r3 |
45 |
+ EGIT_REPO_URI="https://github.com/huijunchen9260/fm.awk.git" |
46 |
+else |
47 |
+ SRC_URI="https://github.com/huijunchen9260/fm.awk/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
48 |
+ S="${WORKDIR}/fm.awk-${PV}" |
49 |
+ KEYWORDS="~amd64" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="GPL-3+" |
53 |
+SLOT="0" |
54 |
+ |
55 |
+RDEPEND="virtual/awk" |
56 |
+ |
57 |
+src_compile() { |
58 |
+ : |
59 |
+} |
60 |
+ |
61 |
+src_install() { |
62 |
+ emake DESTDIR="${D}" UEBERZUG_SUPPORT=YES install |
63 |
+ einstalldocs |
64 |
+} |
65 |
+ |
66 |
+pkg_postinst() { |
67 |
+ optfeature "PDFs preview" app-text/poppler |
68 |
+ optfeature "images preview" media-gfx/chafa |
69 |
+ optfeature "videos preview" media-video/ffmpegthumbnailer |
70 |
+} |
71 |
|
72 |
diff --git a/app-misc/fmawk/fmawk-9999.ebuild b/app-misc/fmawk/fmawk-9999.ebuild |
73 |
new file mode 100644 |
74 |
index 000000000..b6061c618 |
75 |
--- /dev/null |
76 |
+++ b/app-misc/fmawk/fmawk-9999.ebuild |
77 |
@@ -0,0 +1,38 @@ |
78 |
+# Copyright 1999-2021 Gentoo Authors |
79 |
+# Distributed under the terms of the GNU General Public License v2 |
80 |
+ |
81 |
+EAPI=8 |
82 |
+ |
83 |
+inherit optfeature |
84 |
+ |
85 |
+DESCRIPTION="File manager written in awk" |
86 |
+HOMEPAGE="https://github.com/huijunchen9260/fm.awk/" |
87 |
+ |
88 |
+if [[ "${PV}" == *9999* ]]; then |
89 |
+ inherit git-r3 |
90 |
+ EGIT_REPO_URI="https://github.com/huijunchen9260/fm.awk.git" |
91 |
+else |
92 |
+ SRC_URI="https://github.com/huijunchen9260/fm.awk/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
93 |
+ S="${WORKDIR}/fm.awk-${PV}" |
94 |
+ KEYWORDS="~amd64" |
95 |
+fi |
96 |
+ |
97 |
+LICENSE="GPL-3+" |
98 |
+SLOT="0" |
99 |
+ |
100 |
+RDEPEND="virtual/awk" |
101 |
+ |
102 |
+src_compile() { |
103 |
+ : |
104 |
+} |
105 |
+ |
106 |
+src_install() { |
107 |
+ emake DESTDIR="${D}" UEBERZUG_SUPPORT=YES install |
108 |
+ einstalldocs |
109 |
+} |
110 |
+ |
111 |
+pkg_postinst() { |
112 |
+ optfeature "PDFs preview" app-text/poppler |
113 |
+ optfeature "images preview" media-gfx/chafa |
114 |
+ optfeature "videos preview" media-video/ffmpegthumbnailer |
115 |
+} |
116 |
|
117 |
diff --git a/app-misc/fmawk/metadata.xml b/app-misc/fmawk/metadata.xml |
118 |
new file mode 100644 |
119 |
index 000000000..9cb95c6dd |
120 |
--- /dev/null |
121 |
+++ b/app-misc/fmawk/metadata.xml |
122 |
@@ -0,0 +1,13 @@ |
123 |
+<?xml version="1.0" encoding="UTF-8"?> |
124 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
125 |
+ |
126 |
+<pkgmetadata> |
127 |
+ <maintainer type="person"> |
128 |
+ <email>xgqt@××××××.net</email> |
129 |
+ <name>Maciej Barć</name> |
130 |
+ </maintainer> |
131 |
+ <upstream> |
132 |
+ <bugs-to>https://github.com/huijunchen9260/fm.awk/issues</bugs-to> |
133 |
+ <remote-id type="github">huijunchen9260/fm.awk</remote-id> |
134 |
+ </upstream> |
135 |
+</pkgmetadata> |