<commit_before># Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="Scalable KanColle browser and tool"
HOMEPAGE="https://github.com/poooi/poi"

MY_PV="${PV/_p/.}"
MY_PV="${MY_PV/_/-}"

SRC_URI="https://github.com/poooi/poi/releases/download/v${MY_PV}/poi-${PV/_*}-linux-x64.7z -> ${P}.7z"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="app-arch/p7zip"
RDEPEND=""
S="${WORKDIR}/poi-v${PV/_*}-linux-x64"

src_unpack() {
	local icon="https://github.com/poooi/poi/raw/v${MY_PV}/assets/icons/poi.png"
	wget ${icon} -P ${S} || die
	unpack ${A}
}

src_install() {
	insinto /usr/share/poi
	doins -r ../linux/*
	fperms +x /usr/share/poi/poi

	insinto /usr/share/applications
	doins ${FILESDIR}/poi.desktop

	insinto /usr/share/pixmaps
	doins poi.png
}<commit_msg>fix path<commit_after># Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="Scalable KanColle browser and tool"
HOMEPAGE="https://github.com/poooi/poi"

MY_PV="${PV/_p/.}"
MY_PV="${MY_PV/_/-}"

SRC_URI="https://github.com/poooi/poi/releases/download/v${MY_PV}/poi-${PV/_*}-linux-x64.7z -> ${P}.7z"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="app-arch/p7zip"
RDEPEND=""
S="${WORKDIR}/poi-v${PV/_*}-linux-x64"

src_unpack() {
	local icon="https://github.com/poooi/poi/raw/v${MY_PV}/assets/icons/poi.png"
	wget ${icon} -P ${S} || die
	unpack ${A}
}

src_install() {
	insinto /usr/share/poi
	doins -r ../linux-unpacked/*
	fperms +x /usr/share/poi/poi

	insinto /usr/share/applications
	doins ${FILESDIR}/poi.desktop

	insinto /usr/share/pixmaps
	doins poi.png
}
{'fraction_non_alphanumeric': 0.20129107981220656, 'fraction_numerical': 0.023474178403755867, 'mean_word_length': 4.378548895899054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7434187', 'n_tokens_mistral': 781, 'n_tokens_neox': 731, 'n_words': 125}