void-packages/srcpkgs/git-lfs/template

31 lines
721 B
Bash
Raw Normal View History

2017-04-19 07:11:22 +00:00
# Template file for 'git-lfs'
pkgname=git-lfs
2017-07-17 08:17:33 +00:00
version=2.2.1
revision=1
2017-04-19 07:11:22 +00:00
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 <nicklaus@kulinacs.com>"
license="MIT"
homepage="https://git-lfs.github.com/"
2017-05-23 09:05:25 +00:00
distfiles="https://github.com/git-lfs/${pkgname}/archive/v${version}.tar.gz"
2017-07-17 08:17:33 +00:00
checksum=fede2b31b0539fd4a580f831867caac1b5d5dc4405e938c4ee0bfeacfb78ad7a
2017-04-19 07:11:22 +00:00
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
}