mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
3103577bed
* 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>
49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
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
|