mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+diff-so-fancy (#2168)
* wip * wip * fix bin positioning * needs libdir (and update the path to it) --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
5a93ed036c
commit
9be105f85d
1 changed files with 22 additions and 0 deletions
22
projects/github.com/so-fancy/diff-so-fancy/package.yml
Normal file
22
projects/github.com/so-fancy/diff-so-fancy/package.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
distributable:
|
||||
url: https://github.com/so-fancy/diff-so-fancy/archive/refs/tags/v{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: so-fancy/diff-so-fancy
|
||||
strip: /^v/
|
||||
|
||||
build:
|
||||
script:
|
||||
- chmod +x diff-so-fancy
|
||||
- run: |
|
||||
sed -i.bak -e 's| \. "/lib";| \. "/../lib";|' diff-so-fancy
|
||||
rm diff-so-fancy.bak
|
||||
- mkdir -p "{{prefix}}/bin"
|
||||
- mv diff-so-fancy "{{prefix}}/bin"
|
||||
- cp -a lib "{{prefix}}"
|
||||
|
||||
provides:
|
||||
- bin/diff-so-fancy
|
||||
|
||||
test: diff-so-fancy --help
|
Loading…
Reference in a new issue