dev-util/minify-bin: new package, add 2.24.4

Signed-off-by: Itai Ferber <itai@itaiferber.net>
This commit is contained in:
Itai Ferber
2025-10-22 18:52:53 -04:00
parent 22c7341cd2
commit 17c5341623
3 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
BASE_SRC_URI="https://github.com/tdewolff/minify/releases/download/v${PV}/minify_linux_@arch@.tar.gz"
DESCRIPTION="Minifier package that provides HTML5, CSS3, JS, JSON, SVG, and XML minifiers."
HOMEPAGE="https://go.tacodewolff.nl/minify"
SRC_URI="
amd64? ( ${BASE_SRC_URI//@arch@/amd64} )
arm64? ( ${BASE_SRC_URI//@arch@/arm64} )
"
S="${WORKDIR}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="-* ~amd64 ~arm64"
QA_PRESTRIPPED=usr/bin/minify
src_install() {
dobin minify
}