void-packages/srcpkgs/git-lfs/template
2018-01-25 10:00:43 +00:00

31 lines
720 B
Bash

# Template file for 'git-lfs'
pkgname=git-lfs
version=2.3.4
revision=3
nocross=1
build_style=go
go_import_path="github.com/git-lfs/git-lfs"
hostmakedepends="go"
depends="git"
short_desc="Git extension for versioning large files"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="MIT"
homepage="https://git-lfs.github.com/"
distfiles="https://github.com/git-lfs/${pkgname}/archive/v${version}.tar.gz"
checksum=2594fe7bd8cc29d71effd087623b78cadab04a74e506ceeb4971a4ed9a7fbb94
pre_build() {
chmod +x script/bootstrap
mkdir -p src/github.com/git-lfs
ln -s $(pwd) src/github.com/git-lfs/${pkgname}
}
do_build() {
GOPATH=$(pwd) ./script/bootstrap
}
do_install() {
vbin bin/git-lfs
vlicense LICENSE.md
}