Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app-arch/torrentzip: Add 1.0 from new upstream, #920358 #34406

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions app-arch/torrentzip/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST torrentzip-0.9.tar.gz 59007 BLAKE2B eb5d7d8d9026115367afd88ef0cf33d2eed600e6eaa773f039a713c76a48a39e12cb5a8ac6faf2937d3563c9270029543bdb6361d2f22a39e2341953872f589c SHA512 691cd25f501de3de16b5b15b2afadfc34b833c3e93208c2c3497674936580ad2c3532a02e02531b89974302eee7b36f7579a412718914b1b38044b78a39a4d4d
DIST trrntzip-1.0.tar.gz 57643 BLAKE2B 45d4df51f26538b64c70f7310851954995f5d30dcae85b15e702c7518f6a2c4dbebf13ff2746028357dfc9f4c49fd095affb59b893746a4e6bf9b5f9dcd1814a SHA512 4624697528385cb85c9688dbfe56e039ca2d87e28dfdc9b299cb88fb2c7c34c664b58e473a7519ee4ecd89baea5f1369cd719c289e884ad19569d4c69d9a40ab
11 changes: 7 additions & 4 deletions app-arch/torrentzip/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@
</maintainer>

<longdescription>
TorrentZip is a replacement for MameZip. The goal of the program is to
use standard values when creating zips to create identical files over
multiple systems. It has the ability to create a torrentzip format
from a zip file.
Torrentzip converts zip archives to a standard format with some
pre-defined values, sorting the files, and using particular
compression settings so that running it on zip archives created
by other tools will always result in the same output. This helps
e.g. with sharing zip archives using BitTorrent (which is where
the name comes from).
</longdescription>
<upstream>
<remote-id type="github">0-wiz-0/trrntzip</remote-id>
<remote-id type="sourceforge">trrntzip</remote-id>
</upstream>
</pkgmetadata>
28 changes: 28 additions & 0 deletions app-arch/torrentzip/torrentzip-1.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

MY_P="trrntzip-${PV}"

DESCRIPTION="Create identical zip archives over multiple systems"
HOMEPAGE="https://github.com/0-wiz-0/trrntzip"
SRC_URI="https://github.com/0-wiz-0/trrntzip/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz"

S="${WORKDIR}/${MY_P}"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}"

DOCS=(AUTHORS NEWS.md README.md)

src_configure() {
export CPPFLAGS+=' -DOF\\\(args\\\)=args'
cmake_src_configure
}