app-misc/*: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-03-24 05:09:58 +04:00
parent e6477015d3
commit 815f0c1040
5 changed files with 96 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST flox-1.0.1.x86_64-linux.deb 65052274 BLAKE2B de15df32e033c6528f4386b52e3eaf2445eac0d1dd16e85ecc8b56f308ddc6d216824988155a793ebb1f73ac7172fc4f8066b23778d3c858bbc2e9ad7829fb06 SHA512 6c419ca1a87245a96d3762e5e08110ac06402cd5d5dd1a9ea0f66c572bae5fe2f9473d617a83d60eb47e46577c2a140d2cf5cc5eb2a90c05c15e457300647162

View File

@@ -0,0 +1,62 @@
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Developer environments you can take with you, with Nix inside, live virtual envs"
HOMEPAGE="https://flox.dev"
SRC_URI="https://downloads.flox.dev/by-env/stable/deb/flox-${PV}.x86_64-linux.deb"
inherit unpacker
KEYWORDS="~amd64"
LICENSE="GPL-2"
SLOT="0"
RESTRICT="strip binchecks bindist"
S="${WORKDIR}"
QA_PREBUILT="*"
src_prepare() {
default
echo ==========
ls -lh
echo ==========
echo ========== etc ======
ls -lh etc
echo =====================
echo ========== nix ======
ls -lh nix
echo =====================
echo ========== usr ======
ls -lh usr
echo ==========
tar xvJf usr/share/nix/nix.tar.xz --no-same-owner
bin/nix \
--extra-experimental-features nix-command \
--option substitute false \
copy --from usr/share/nix --all --no-check-sigs
# Now that Nix closure has been extracted, set path to prefer
# tools as provided in installation bundle.
export PATH=/nix/store/bblyj5b3ii8n6v4ra0nb37cmi3lf8rz9-coreutils-9.3/bin:/nix/store/ddkis1jjybv09d6y2xc0q94r87s3ndni-daemonize-1.7.8/bin:/nix/store/l974pi8a5yqjrjlzmg6apk0jwjv81yqw-findutils-4.9.0/bin:/nix/store/9c5qm297qnvwcf7j0gm01qrslbiqz8rs-gnused-4.9/bin:$PATH
}
src_install() {
# Not dobin because dobin doing chmod -x (making not executable)
cp -r nix "${ED}"
}
pkg_postinst() {
einfo "TODO some quck start advice OR link to a documentation"
}

View File

@@ -0,0 +1 @@
DIST watch-tree-and-replace-spaces-with-a-few-other-chars-1.0.0.tar.bz2 2126169 BLAKE2B d3748c274954df5ab1b34a16ed1c83df125f233f96700848e396355b645c98c0a34e25d30202690e07ce3d24b3f6af0aaa2b6f93527859f0a27a5ea58b2e68a0 SHA512 03c162efc9e7405660f5e300eedb26115a5e16017409c1ec86ed77be7b4e0c899ab6cfc65482eb88f820fe767cfd50037fcd13cb314dc41dd7283390a922fca8

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Vitaly Zdanevich</name>
<email>zdanevich.vitaly@ya.ru</email>
</maintainer>
<upstream>
<remote-id type="gitlab">vitaly-zdanevich/watch-tree-and-replace-spaces-with-a-few-other-chars</remote-id>
<bugs-to>https://gitlab.com/vitaly-zdanevich/watch-tree-and-replace-spaces-with-a-few-other-chars/-/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,20 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Monitor a tree for files with spaces in name - and replace to underscores"
HOMEPAGE=""https://gitlab.com/vitaly-zdanevich/watch-tree-and-replace-spaces-with-a-few-other-chars
SRC_URI="https://gitlab.com/vitaly-zdanevich/$PN/-/archive/$PV/$P.tar.bz2"
LICENSE="Apache-2.0"
SLOT=0
KEYWORDS="~amd64 ~x86"
src_install() {
dobin "${PN}".sh
}
pkg_postinst() {
elog: "How to use: run in terminal in a folder - and in another software create a file with space in name, in that folder"
}