mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
+curl.se/trurl
This commit is contained in:
parent
9ef056e74a
commit
5a4c5dcf66
1 changed files with 27 additions and 0 deletions
27
projects/curl.se/trurl/package.yml
Normal file
27
projects/curl.se/trurl/package.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/curl/trurl/archive/refs/tags/trurl-{{version.raw}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: curl/trurl
|
||||||
|
strip: /trurl-/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
curl.se: ^7,^8
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
openssl.org: ^1.1
|
||||||
|
script: |
|
||||||
|
make
|
||||||
|
mkdir -p {{prefix}}/bin
|
||||||
|
mv trurl {{prefix}}/bin
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/trurl
|
||||||
|
|
||||||
|
test: |
|
||||||
|
a="$(trurl --url "https://example.com?name=hello" --append query=search=string)"
|
||||||
|
test "$a" = "https://example.com/?name=hello&search=string"
|
Loading…
Reference in a new issue