# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit go-module GIT_COMMIT="87689acd9c60f2e7382cf9bfc86d5f48236f3d19" DESCRIPTION="Server-side implementation of Git LFS using the SSH protocol" HOMEPAGE="https://github.com/autovia/git-lfs-transfer" SRC_URI="https://github.com/autovia/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz http://people.meleeweb.net/~beber/gentoo/${P}-deps.tar.xz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" S="${WORKDIR}/${PN}-${GIT_COMMIT}" PATCHES=( "${FILESDIR}/${PV}-build-add-go.sum.patch" ) src_compile () { ego build -o "${PN}" main.go \ || die default } src_install () { dobin "${PN}" dodoc README.md }