Files
guru/app-admin/antidot/antidot-0.6.3.ebuild
Anna (cybertailor) Vyalkova 98526c78bb app-admin/antidot: add 0.6.3, clean old
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
2022-10-30 14:35:26 +05:00

31 lines
709 B
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Cleans up your \$HOME from those pesky dotfiles"
HOMEPAGE="https://github.com/doron-cohen/antidot"
SRC_URI="https://github.com/doron-cohen/${PN}/releases/download/v${PV}/${P}.tar.gz"
LICENSE="MIT Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
src_compile() {
ego build -v -x -work -o ${PN}
}
src_install() {
dobin ${PN}
einstalldocs
}
pkg_postinst() {
if [[ -z ${REPLACING_VERSIONS} ]]; then
elog "To get started with antidot, first run 'antidot update'"
elog "Then add the output of 'antidot init' to your .bash_profile or similar"
fi
}