Added app-misc/saundersp-toolbox-20250313

This commit is contained in:
saundersp 2025-03-14 00:52:36 +01:00
parent 5ac8e979b4
commit b4f1e12e38
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST saundersp-toolbox-20250313.tar.gz 8413 BLAKE2B 0d14ed3b6059833c3da3a07e0412d485e865365172288b88afef5e4d43fa5ce7427d2f258e5b084d5ac0b15510fb5f906a4501fe2c1c76824eb93765d0db5a8c SHA512 47cb66f471e7f2992ce7c4dd049247ba26c1e44e147a798b98d864ce129aac551d47fad27df61b2f249b8b746f8d7e9b8048b7456065fa081e15e0ab38c6d558
EBUILD saundersp-toolbox-20250313.ebuild 1088 BLAKE2B d98decd717c1f53d5c2ff58885da954925a3972e6ba95e7443a9d0625947a6d3fa52250be3848c3e748cdee3665f95dc1875e25fb0bd4841e6a28aec77b8118f SHA512 b8f308b169dd39d1d57fcf70ebed9537e5cae39fba000ad65385a118b3aa7aa7c2ed6c7a5cdcd8543a3e244ec8f62e71f4e5c71cb9a3129a590841eb3e6c29dd
MISC metadata.xml 794 BLAKE2B 33977ea7abee51b1cedfb57c09158b1e55165d8282d622df75701f15c14b58f36253c6791de139c05b4b763b41801c072beb56226aa89278e85783fdd3a55b8d SHA512 10531279813cbe72294fcdd1430549ce485b9221640db6ae8de860ca747b1fd9134bdcb9a8b1536ca196298e83b7b3abae1d1c92f953bae2c0ad81abec9078dd

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>pierre.saundersps@gmail.com</email>
<name>Pierre Saunders</name>
</maintainer>
<upstream>
<remote-id type="github">arp242/find-cursor</remote-id>
</upstream>
<use>
<flag name="format-time">Install the format_time program</flag>
<flag name="format-time-ns">Install the format_time_ns program</flag>
<flag name="format-bytes">Install the format_bytes program</flag>
<flag name="gcd">Install the gcd program</flag>
<flag name="compress">Install the compress script</flag>
<flag name="convertUTF8">Install the convertUTF8 script</flag>
<flag name="extract">Install the extract script</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,32 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION='Compilation of useful scripts and small programs'
HOMEPAGE='https://git.saundersp.com/saundersp/toolbox'
GIT_COMMIT='737336731a79df68fd946bf95cf7bd6e80cc8063'
SRC_URI="https://git.saundersp.com/saundersp/toolbox/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/toolbox"
LICENSE='MIT'
SLOT='0'
KEYWORDS='~amd64 ~arm ~arm64 ~x86'
IUSE="+format-time +format-time-ns +format-bytes +gcd +compress +convertUTF8 +extract"
src_compile() {
use format-bytes && emake format_bytes/bin/format_bytes
use format-time && emake format_time/bin/format_time
use format-time-ns && emake format_time/bin/format_time_ns
use gcd && emake gcd/bin/gcd
}
src_install() {
use format-bytes && dobin format_bytes/bin/format_bytes
use format-time && dobin format_time/bin/format_time
use format-time-ns && dobin format_time/bin/format_time_ns
use gcd && dobin gcd/bin/gcd
use compress && dobin compress
use convertUTF8 && dobin convertUTF8
use extract && dobin extract
}

View File

@ -0,0 +1,10 @@
DEFINED_PHASES=compile install
DESCRIPTION=Compilation of useful scripts and small programs
EAPI=8
HOMEPAGE=https://git.saundersp.com/saundersp/toolbox
IUSE=+format-time +format-time-ns +format-bytes +gcd +compress +convertUTF8 +extract
KEYWORDS=~amd64 ~arm ~arm64 ~x86
LICENSE=MIT
SLOT=0
SRC_URI=https://git.saundersp.com/saundersp/toolbox/archive/737336731a79df68fd946bf95cf7bd6e80cc8063.tar.gz -> saundersp-toolbox-20250313.tar.gz
_md5_=d428c2eac2bd8347c227afdb7cb10e02