2017-04-19 09:11:22 +02:00
|
|
|
# Template file for 'git-lfs'
|
|
|
|
pkgname=git-lfs
|
2017-10-20 18:09:37 +02:00
|
|
|
version=2.3.4
|
2017-10-26 10:35:58 +02:00
|
|
|
revision=2
|
2017-04-19 09:11:22 +02: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 11:05:25 +02:00
|
|
|
distfiles="https://github.com/git-lfs/${pkgname}/archive/v${version}.tar.gz"
|
2017-10-20 18:09:37 +02:00
|
|
|
checksum=2594fe7bd8cc29d71effd087623b78cadab04a74e506ceeb4971a4ed9a7fbb94
|
2017-04-19 09:11:22 +02: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
|
|
|
|
}
|