mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
git-lfs.github.com (#2281)
* Create package.yml * Update package.yml * rename guthub to github * Update package.yml * deps * Update package.yml * deps * Update package.yml * Update package.yml * modified: projects/git-lfs.github.com/package.yml * modified: projects/git-lfs.github.com/package.yml * modified: projects/git-lfs.github.com/package.yml * DOWNLOAD_URL & DOWNLOAD_FILE * modified: projects/git-lfs.github.com/package.yml * modified: projects/git-lfs.github.com/package.yml * modified: projects/git-lfs.github.com/package.yml * env VERSION remove * modified: projects/git-lfs.github.com/package.yml * rename to git-lfs.com * add comment about building from source --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
19952d812e
commit
3103577bed
49
projects/git-lfs.com/package.yml
Normal file
49
projects/git-lfs.com/package.yml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/git-lfs/git-lfs/releases/download/v{{version}}/git-lfs-v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
warnings:
|
||||||
|
- vendored
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: git-lfs/git-lfs
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
git-scm.org: '*'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
gnu.org/wget: '*'
|
||||||
|
|
||||||
|
script:
|
||||||
|
# FIXME: Building from source: https://github.com/git-lfs/git-lfs#from-source
|
||||||
|
# results in error: git-lfs died on signal 11
|
||||||
|
- wget $DOWNLOAD_URL
|
||||||
|
- $UNARCHIVE
|
||||||
|
- cd git-lfs-{{version}}
|
||||||
|
- mkdir -p {{prefix}}/bin
|
||||||
|
- install ./git-lfs {{prefix}}/bin/git-lfs
|
||||||
|
- mkdir -p {{prefix}}/man
|
||||||
|
- mv ./man/* {{prefix}}/man/
|
||||||
|
|
||||||
|
env:
|
||||||
|
linux/x86-64:
|
||||||
|
DOWNLOAD_URL: https://github.com/git-lfs/git-lfs/releases/download/v{{version}}/git-lfs-linux-amd64-v{{version}}.tar.gz
|
||||||
|
UNARCHIVE: tar -xz -f git-lfs-linux-amd64-v{{version}}.tar.gz
|
||||||
|
linux/aarch64:
|
||||||
|
DOWNLOAD_URL: https://github.com/git-lfs/git-lfs/releases/download/v{{version}}/git-lfs-linux-arm64-v{{version}}.tar.gz
|
||||||
|
UNARCHIVE: tar -xz -f git-lfs-linux-arm64-v{{version}}.tar.gz
|
||||||
|
darwin/x86-64:
|
||||||
|
DOWNLOAD_URL: https://github.com/git-lfs/git-lfs/releases/download/v{{version}}/git-lfs-darwin-amd64-v{{version}}.zip
|
||||||
|
UNARCHIVE: unzip git-lfs-darwin-amd64-v{{version}}.zip -d ./
|
||||||
|
darwin/aarch64:
|
||||||
|
DOWNLOAD_URL: https://github.com/git-lfs/git-lfs/releases/download/v{{version}}/git-lfs-darwin-arm64-v{{version}}.zip
|
||||||
|
UNARCHIVE: unzip git-lfs-darwin-arm64-v{{version}}.zip -d ./
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/git-lfs
|
||||||
|
|
||||||
|
test:
|
||||||
|
- git init
|
||||||
|
- git lfs track test
|
||||||
|
- grep 'test filter=lfs' .gitattributes
|
Loading…
Reference in a new issue