* [gentoo-commits] repo/proj/guru:dev commit in: dev-jq/emojify/, profiles/
@ 2024-11-05 4:57 Wu Zhenyu
0 siblings, 0 replies; only message in thread
From: Wu Zhenyu @ 2024-11-05 4:57 UTC (permalink / raw
To: gentoo-commits
commit: 8b1540c3042778cf3ec7d47fe96987e102c284f4
Author: Wu, Zhenyu <wuzhenyu <AT> ustc <DOT> edu>
AuthorDate: Tue Nov 5 04:55:03 2024 +0000
Commit: Wu Zhenyu <Wuzy01 <AT> qq <DOT> com>
CommitDate: Tue Nov 5 04:55:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8b1540c3
dev-jq/emojify: fix package bug
Signed-off-by: Wu, Zhenyu <wuzhenyu <AT> ustc.edu>
.../emojify/{emojify-0.0.1.ebuild => emojify-0.0.1-r1.ebuild} | 10 +++++++---
profiles/categories | 1 +
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/dev-jq/emojify/emojify-0.0.1.ebuild b/dev-jq/emojify/emojify-0.0.1-r1.ebuild
similarity index 88%
rename from dev-jq/emojify/emojify-0.0.1.ebuild
rename to dev-jq/emojify/emojify-0.0.1-r1.ebuild
index 97ba3b1a8..4e8d6e262 100644
--- a/dev-jq/emojify/emojify-0.0.1.ebuild
+++ b/dev-jq/emojify/emojify-0.0.1-r1.ebuild
@@ -30,8 +30,12 @@ src_prepare() {
sed -i s=/usr=$EPREFIX/usr=g emojify scripts/generate-emoji.jq.jq
}
+src_compile() {
+ scripts/generate-emoji.jq.jq ../gemoji-$_VERSION/db/emoji.json > emoji.jq
+}
+
src_install() {
- install -d "$ED/usr/lib/jq"
- scripts/generate-emoji.jq.jq ../gemoji-$_VERSION/db/emoji.json > "$ED/usr/lib/jq/emoji.jq"
- install -D emojify -t "$ED/usr/bin"
+ insinto /usr/lib/jq
+ doins emoji.jq
+ dobin emojify
}
diff --git a/profiles/categories b/profiles/categories
index 5b14684b2..2551aa693 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -2,6 +2,7 @@ app-voices
dev-crystal
dev-elixir
dev-hare
+dev-jq
dev-nim
dev-zig
mpv-plugin
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-11-05 4:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05 4:57 [gentoo-commits] repo/proj/guru:dev commit in: dev-jq/emojify/, profiles/ Wu Zhenyu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox