app-misc/tmux-rime: new package, add 0.0.3

Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
This commit is contained in:
Wu, Zhenyu
2024-11-06 13:50:43 +08:00
parent 68ebd4f81c
commit 12f1d18e4b
3 changed files with 67 additions and 0 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -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
}