From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2EE6E1584AD for ; Sat, 12 Apr 2025 09:36:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 162F934379C for ; Sat, 12 Apr 2025 09:36:49 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7ADCC1104B0; Sat, 12 Apr 2025 09:36:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7390B1104B0 for ; Sat, 12 Apr 2025 09:36:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABA913436F9 for ; Sat, 12 Apr 2025 09:36:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E9371688 for ; Sat, 12 Apr 2025 09:36:45 +0000 (UTC) From: "Nickolas Raymond Kaczynski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nickolas Raymond Kaczynski" Message-ID: <1744450335.b17db74ea3e9675bee78ccaaddfb96d154eb2ee5.nrk@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-arch/nix-compress/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-arch/nix-compress/Manifest app-arch/nix-compress/metadata.xml app-arch/nix-compress/nix-compress-0.3.0.ebuild X-VCS-Directories: app-arch/nix-compress/ X-VCS-Committer: nrk X-VCS-Committer-Name: Nickolas Raymond Kaczynski X-VCS-Revision: b17db74ea3e9675bee78ccaaddfb96d154eb2ee5 X-VCS-Branch: dev Date: Sat, 12 Apr 2025 09:36:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 69a0ed47-adbd-437f-9919-d4ddbf29fedd X-Archives-Hash: 37b2a25b2b013c9a7b0ab40e9cf3d644 commit: b17db74ea3e9675bee78ccaaddfb96d154eb2ee5 Author: NRK disroot org> AuthorDate: Sat Apr 12 09:32:01 2025 +0000 Commit: Nickolas Raymond Kaczynski disroot org> 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 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 @@ + + + + + nrk@disroot.org + + + NRK/nix-compress + + 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 +}