31 lines
721 B
Bash
31 lines
721 B
Bash
# Template file for 'git-lfs'
|
|
pkgname=git-lfs
|
|
version=2.3.0
|
|
revision=2
|
|
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/"
|
|
distfiles="https://github.com/git-lfs/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=4f972b4578d09a464cfc730df3a0ff6255d5ca0e09ea2913b3b6515d9c987d81
|
|
|
|
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
|
|
}
|