summaryrefslogtreecommitdiff
path: root/dev-vcs/git-lfs-transfer/git-lfs-transfer-0.20230804.ebuild
blob: ccc5a538ea5dbf30e53cf332a5bfe7c177adc508 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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
}