diff --git a/srcpkgs/git-lfs/INSTALL.msg b/srcpkgs/git-lfs/INSTALL.msg new file mode 100644 index 0000000000..92448b0f48 --- /dev/null +++ b/srcpkgs/git-lfs/INSTALL.msg @@ -0,0 +1 @@ +Run 'git-lfs install' to configure git to use git-lfs diff --git a/srcpkgs/git-lfs/template b/srcpkgs/git-lfs/template new file mode 100644 index 0000000000..3d0448279a --- /dev/null +++ b/srcpkgs/git-lfs/template @@ -0,0 +1,30 @@ +# Template file for 'git-lfs' +pkgname=git-lfs +version=2.0.2 +revision=1 +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="Nicklaus McClendon " +license="MIT" +homepage="https://git-lfs.github.com/" +distfiles="https://github.com/git-lfs/${pkgname}/archive/${version}.tar.gz" +checksum=e266bdffa53e947ba1d0bf8944d73029384bad2ed05af92bc10918d07eec6b63 + +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 +}