public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-arch/nix-compress/
Date: Sat, 12 Apr 2025 09:59:42 +0000 (UTC)	[thread overview]
Message-ID: <1744450335.b17db74ea3e9675bee78ccaaddfb96d154eb2ee5.davidroman@gentoo> (raw)

commit:     b17db74ea3e9675bee78ccaaddfb96d154eb2ee5
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Apr 12 09:32:01 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Apr 12 09:32:15 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b17db74e

app-arch/nix-compress: init

Signed-off-by: NRK <nrk <AT> disroot.org>

 app-arch/nix-compress/Manifest                  |  1 +
 app-arch/nix-compress/metadata.xml              | 10 +++++++++
 app-arch/nix-compress/nix-compress-0.3.0.ebuild | 28 +++++++++++++++++++++++++
 3 files changed, 39 insertions(+)

diff --git a/app-arch/nix-compress/Manifest b/app-arch/nix-compress/Manifest
new file mode 100644
index 000000000..f9d4a56ba
--- /dev/null
+++ b/app-arch/nix-compress/Manifest
@@ -0,0 +1 @@
+DIST nix-compress-0.3.0.tar.gz 32291 BLAKE2B ef9304e14239f0d5341012a7492644a11c6ddf4b2ee1fa45b845d3a8c886878f3f8dde7580e8e1fce6286ecc479edcf682cf0af9cf630956d69ee290d9fbaf69 SHA512 7dbccd6e3ab557bfb6c46a9db62274172e318d4193c3045ced34ac95683f49546135290c6d2540872023eccf56d3ce5c15098710ae1a4c9addbecf44e475a3cd

diff --git a/app-arch/nix-compress/metadata.xml b/app-arch/nix-compress/metadata.xml
new file mode 100644
index 000000000..2d59d7de5
--- /dev/null
+++ b/app-arch/nix-compress/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>nrk@disroot.org</email>
+	</maintainer>
+	<upstream>
+		<remote-id type="codeberg">NRK/nix-compress</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/app-arch/nix-compress/nix-compress-0.3.0.ebuild b/app-arch/nix-compress/nix-compress-0.3.0.ebuild
new file mode 100644
index 000000000..588801420
--- /dev/null
+++ b/app-arch/nix-compress/nix-compress-0.3.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo toolchain-funcs
+
+DESCRIPTION="Modern implementation of the ancient unix compress(1) tool"
+HOMEPAGE="https://codeberg.org/NRK/nix-compress"
+
+SRC_URI="https://codeberg.org/NRK/nix-compress/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+LICENSE="GPL-3+ MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="!app-arch/ncompress"
+
+src_compile() {
+	edo $(tc-getCC) ${CFLAGS} -o compress nix-compress.c ${LDFLAGS}
+}
+
+src_install() {
+	dobin compress
+	dosym compress /usr/bin/uncompress
+	doman man/compress.1 man/uncompress.1
+	dodoc README.md
+}


                 reply	other threads:[~2025-04-12 10:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1744450335.b17db74ea3e9675bee78ccaaddfb96d154eb2ee5.davidroman@gentoo \
    --to=davidroman96@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox