summaryrefslogtreecommitdiff
path: root/app-arch/gxz
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-06 00:30:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-06 00:30:33 +0100
commit9323524b4d44f4ec3dc923bd8e9ea04bdde8a067 (patch)
tree8ca7b8c58d4e70389d5d4672ebd86cb475cf9f80 /app-arch/gxz
parent8c11cf748cc296d6338a189106a8cc9e3a1e0948 (diff)
gentoo auto-resync : 06:04:2024 - 00:30:33
Diffstat (limited to 'app-arch/gxz')
-rw-r--r--app-arch/gxz/Manifest3
-rw-r--r--app-arch/gxz/gxz-0.5.12.ebuild28
-rw-r--r--app-arch/gxz/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/app-arch/gxz/Manifest b/app-arch/gxz/Manifest
new file mode 100644
index 000000000000..b23a45535ef5
--- /dev/null
+++ b/app-arch/gxz/Manifest
@@ -0,0 +1,3 @@
+DIST gxz-0.5.12.tar.gz 4176087 BLAKE2B 0bf4795ec1d008ef956d42d9d78b3f3f65bb9555436c64869a82aa6c058ac3aa5e8912a8e451cdafccaeaf4d9bb30404e2cd60a00f620baf01e6b6d892d59a3f SHA512 13928dfbd8514eb7c778a84405ba2342159da8f59783f82b5774643190b12d5fc1aed927b67946d5ef246d5cc61b3be23eaa08695c61aea70229617b1ce757ff
+EBUILD gxz-0.5.12.ebuild 535 BLAKE2B ae8585e8d3326d00216dea9d5ab857e848a0e65ad14490d91ce7562b1edbf2cb959443ca373477e35a08d96e676b88680b01e4bed5fc2b6bfe50fe86338d3d2b SHA512 cc2aef0de4fc6dd20e6d59e16dc7f0b9f9449ead24a6815ae117212b668872c9d0b1170b4caf0fddfb343abca678281605ed44efaf3897f28a497d12fa15a055
+MISC metadata.xml 317 BLAKE2B 7ad99aebb0be2b6dc2ec707153a024023cc5bf998743586082dca08d26d0178cf4cba9aed6003cc2240afce4bcd5ba32ae2cc2f0e221701f5313183073ebe8b6 SHA512 deaad62b9740ff7d24a7ae1cbfe34fe1f73e0afb05f5a4ae0cded9b5ff326b18d82f138c3b645e08445df51ca4a938a82fe35287ca6448334f87f0bc902bc746
diff --git a/app-arch/gxz/gxz-0.5.12.ebuild b/app-arch/gxz/gxz-0.5.12.ebuild
new file mode 100644
index 000000000000..5413b88e41b4
--- /dev/null
+++ b/app-arch/gxz/gxz-0.5.12.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="Pure golang package for reading and writing xz-compressed files"
+HOMEPAGE="https://github.com/ulikunitz/xz"
+SRC_URI="https://github.com/ulikunitz/xz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}"/xz-${PV}
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_compile() {
+ ego build ./cmd/gxz
+}
+
+src_test() {
+ # TODO: Need to give it test data?
+ ego test ./cmd/gxz
+}
+
+src_install() {
+ dobin gxz
+}
diff --git a/app-arch/gxz/metadata.xml b/app-arch/gxz/metadata.xml
new file mode 100644
index 000000000000..dbf55dc84298
--- /dev/null
+++ b/app-arch/gxz/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ulikunitz/xz</remote-id>
+ </upstream>
+</pkgmetadata>