mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-util/minify: new package, add 2.24.11
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
2
dev-util/minify/Manifest
Normal file
2
dev-util/minify/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST minify-2.24.11-deps.tar.xz 686588 BLAKE2B d8e8a5f9b9f818eec983e449f4ea2822f7111a599dac92111d01d7ac8d14ff86ba7c73b95949754a7ff66ed23c2fe1f3e91cb7e69c9381c240a12a319e3a15eb SHA512 0a92817442011f0e53f589bb20c683d7577c131434e21f0837424677cc26fa3380f5eb6a08e30d547a23db4489c0260a86d083109212ff23e518d4f339f70999
|
||||
DIST minify-2.24.11.tar.gz 7769853 BLAKE2B f2dcefc2d804f806c69d619f1ce5775235503317199396f14bf4346dd53a0048eef3e42c0cb6754e7c40dbe56adbee9a3a2259eb679bb6fe3954b6f58d4179f4 SHA512 9fc5bf7daf9f5ccd88c01af0312bf366a2dbd21136b43592a5cf32d0d91ff63a4a8a4152dd5ae3589183ac5091aea5db893806f8c00bdd6a19e6820b49979544
|
||||
12
dev-util/minify/metadata.xml
Normal file
12
dev-util/minify/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Pavel Sobolev</name>
|
||||
<email>contact@paveloom.dev</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/tdewolff/minify/issues</bugs-to>
|
||||
<remote-id type="github">tdewolff/minify</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
32
dev-util/minify/minify-2.24.11.ebuild
Normal file
32
dev-util/minify/minify-2.24.11.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module
|
||||
|
||||
DESCRIPTION="Go minifier for web formats"
|
||||
HOMEPAGE="https://go.tacodewolff.nl/minify"
|
||||
SRC_URI="
|
||||
https://github.com/tdewolff/minify/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://gitlab.com/api/v4/projects/69517529/packages/generic/${PN}/${PV}/${P}-deps.tar.xz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_compile() {
|
||||
ego build \
|
||||
-ldflags "-s -w -X 'main.Version=${PV}'" -trimpath \
|
||||
-o _minify ./cmd/minify
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin _minify minify
|
||||
dobashcomp cmd/minify/bash_completion
|
||||
}
|
||||
Reference in New Issue
Block a user