alpha-quadrant/dev-util/typos/typos-1.24.5.ebuild
2024-09-16 11:00:17 +02:00

36 lines
640 B
Bash

# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Source code spell checker."
HOMEPAGE="https://github.com/crate-ci/typos"
SRC_URI="
https://github.com/crate-ci/typos/releases/download/v1.24.5/typos-v1.24.5-x86_64-unknown-linux-musl.tar.gz
amd64? ( https://github.com/crate-ci/${PN}/releases/download/v${PV}/${PN}-v${PV}-x86_64-unknown-linux-musl.tar.gz )
"
RESTRICT="mirror strip bindist"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=""
RDEPEND="
${DEPEND}
"
DOCS=( )
pkg_setup(){
S="${WORKDIR}"
}
src_install(){
dobin typos
dodoc doc/*
}