diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-11-06 13:50:43 +0800 |
---|---|---|
committer | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-11-07 01:22:11 +0800 |
commit | 12f1d18e4bab56b7993a730cf95503b8d92758e4 (patch) | |
tree | fce03f866302203e297eb0bc315ae250570782d1 /app-misc/tmux-rime | |
parent | net-mail/dovecot-fts-xapian: add 1.7.17 (diff) | |
download | guru-12f1d18e4bab56b7993a730cf95503b8d92758e4.tar.gz guru-12f1d18e4bab56b7993a730cf95503b8d92758e4.tar.bz2 guru-12f1d18e4bab56b7993a730cf95503b8d92758e4.zip |
app-misc/tmux-rime: new package, add 0.0.3
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Diffstat (limited to 'app-misc/tmux-rime')
-rw-r--r-- | app-misc/tmux-rime/Manifest | 2 | ||||
-rw-r--r-- | app-misc/tmux-rime/metadata.xml | 11 | ||||
-rw-r--r-- | app-misc/tmux-rime/tmux-rime-0.0.3.ebuild | 54 |
3 files changed, 67 insertions, 0 deletions
diff --git a/app-misc/tmux-rime/Manifest b/app-misc/tmux-rime/Manifest new file mode 100644 index 000000000..4f8203d58 --- /dev/null +++ b/app-misc/tmux-rime/Manifest @@ -0,0 +1,2 @@ +DIST tmux-rime-0.0.3.tar.gz 19852 BLAKE2B 14daef4291ff2b990cfd390e36022148607ee1051a3a29c4f33991574983201a775f4efe844c5fe5f04380b8ffb863f4eb31591ebfabe3cd805a81c89148f15e SHA512 f8654a1cb2caa36b050b656e2148f9b9b0b4e7c1e2fd7a4eea4280e338c496247660672414c49da0c25bf8027c9414c5d72534d38eb1d230c5af823ea90ffcf6 +DIST xmake-repo-9e39ee6a9c9a4c43192b95b7efcc95ea1c79a28d.tar.gz 1209613 BLAKE2B ee4a894fac6ff52c35f9d832a536e29bd24d45873e5eeab2f0a4c91f964e15b5fb1637e4c52bc6e3f86a90f8f3804c4b5856a3e669ba02aa2fcbbf42b5b258ee SHA512 bb39e63767c7626f917d9a8ee4f63058545341efe338628e741d2a6625e9ccda685b1c6b1c35f11673ef8742a47776869f4ade274e3e114799c03ed0479fd0c6 diff --git a/app-misc/tmux-rime/metadata.xml b/app-misc/tmux-rime/metadata.xml new file mode 100644 index 000000000..e2676d712 --- /dev/null +++ b/app-misc/tmux-rime/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>wuzhenyu@ustc.edu</email> + <name>Wu, Zhenyu</name> + </maintainer> + <upstream> + <remote-id type="github">Freed-Wu/tmux-rime</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/tmux-rime/tmux-rime-0.0.3.ebuild b/app-misc/tmux-rime/tmux-rime-0.0.3.ebuild new file mode 100644 index 000000000..5d2649d25 --- /dev/null +++ b/app-misc/tmux-rime/tmux-rime-0.0.3.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="" +HOMEPAGE="https://github.com/Freed-Wu/$PN" + +_VERSION=9e39ee6a9c9a4c43192b95b7efcc95ea1c79a28d +SRC_URI=" + $HOMEPAGE/archive/${PV}.tar.gz -> $P.tar.gz + https://github.com/xmake-io/xmake-repo/archive/$_VERSION.tar.gz -> xmake-repo-$_VERSION.tar.gz +" +KEYWORDS="~amd64" + + +LICENSE="GPL-3" +SLOT="0" + +DEPEND=" + app-i18n/librime + dev-libs/glib +" + +BDEPEND=" + dev-build/xmake +" + +RDEPEND=" + $DEPEND + app-misc/tmux +" + +export XMAKE_ROOT=y + +src_configure() { + # https://github.com/xmake-io/xmake/discussions/5699 + HOME=$T PATH=$T:$PATH + echo -e "#!$SHELL\necho I am git" >$T/git + chmod +x $T/git + install -d $HOME/.xmake/repositories + ln -sf "$WORKDIR/xmake-repo-$_VERSION" $HOME/.xmake/repositories/xmake-repo + + xmake g --network=private + xmake f --verbose +} + +src_compile() { + xmake +} + +src_install() { + xmake install -o $ED/usr +} |