Added app-misc/xdg-ninja-20250807

This commit is contained in:
saundersp
2025-10-06 21:19:26 +02:00
parent bb3185a548
commit 93a0740184
4 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
DIST xdg-ninja-20250807.tar.gz 68631 BLAKE2B b063bcc2f1f3f1cf8668a5b454ad366d5b065bbb3b9156211dd95971410e79a678ff0494161c41c431e7ae04c5d54ce2022f120de9302fb961b4359a01b85bc2 SHA512 5a5e1995b7c635a22664938aedb3bb2ce1cda6658fd3cfed7e20d3067451db69d4f1abe1f01820f633e1d305b2884fcb7725279388931a37952d95c3caa491c3
EBUILD xdg-ninja-20250807.ebuild 653 BLAKE2B f1e97c095f3f1aa3c5279f0e0e62e60554baddf500c6db851a3306f7262727c3bd90e3d21632b675aa565b2d4d0386fdff57dc2d4c0796e044a87cd074875c3b SHA512 3d16bd006119a667da89c68d919f02cacd3436eb3423c9544f5f9fb2b8fb1f68acc965f7358797add645fc2b5980b9c206b79ff50758e425d5e9f6e635856997
MISC metadata.xml 885 BLAKE2B ba82e38205f92b76a1ae8f6f43064dc527a602228a991338077643361839d276359311a55a62835a407e18e44919080dba9b6e5e6fd542c3a47712130759c35b SHA512 5a6a6c18a4185c4b728c7119d96554e445f5826a90ad5ae6a9b4bc977842b1e059ff66cd15326eadb43580fc42d50e0058036716d3d2df322172deaf0741517c

View File

@@ -0,0 +1,19 @@
<?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>
<longdescription lang="en">
A shell script that checks your $HOME for unwanted files and directories.
When xdg-ninja encounters a file or directory it knows about, it will tell you whether it's possible to move it to the appropriate location, and how to do it.
The configurations are from the arch wiki page on XDG_BASE_DIR, antidot (thanks to Scr0nch for writing a conversion tool), and crowdsourced by other users.
</longdescription>
<upstream>
<remote-id type="github">b3nj5m1n/xdg-ninja</remote-id>
</upstream>
<use>
<flag name="glow">Use app-misc/glow for rendering Markdown in the terminal</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,27 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION='A shell script which checks your $HOME for unwanted files and directories. '
HOMEPAGE='https://github.com/b3nj5m1n/xdg-ninja'
GIT_COMMIT='854929e5413e8d2cf84e90c5cc3ccb0188ab5d22'
SRC_URI="https://github.com/b3nj5m1n/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${GIT_COMMIT}"
LICENSE='MIT'
SLOT='0'
KEYWORDS='~amd64 ~x86'
IUSE='+glow'
DEPEND='
app-shells/bash
app-misc/jq
sys-apps/findutils
glow? ( app-misc/glow )
'
RDEPEND="${DEPEND}"
src_install() {
emake PREFIX=/usr DESTDIR="${D}" install
}

View File

@@ -0,0 +1,12 @@
DEFINED_PHASES=install
DEPEND=app-shells/bash app-misc/jq sys-apps/findutils glow? ( app-misc/glow )
DESCRIPTION=A shell script which checks your $HOME for unwanted files and directories.
EAPI=8
HOMEPAGE=https://github.com/b3nj5m1n/xdg-ninja
IUSE=+glow
KEYWORDS=~amd64 ~x86
LICENSE=MIT
RDEPEND=app-shells/bash app-misc/jq sys-apps/findutils glow? ( app-misc/glow )
SLOT=0
SRC_URI=https://github.com/b3nj5m1n/xdg-ninja/archive/854929e5413e8d2cf84e90c5cc3ccb0188ab5d22.tar.gz -> xdg-ninja-20250807.tar.gz
_md5_=f62441dafcdce86243684d1de2e0c41c