/ripgrep/plan.sh

https://github.com/habitat-sh/core-plans · Shell · 23 lines · 20 code · 3 blank · 0 comment · 0 complexity · 4b62415f50cff1b13557556131a6e237 MD5 · raw file

  1. pkg_name=ripgrep
  2. pkg_origin=core
  3. pkg_version="11.0.2"
  4. pkg_maintainer="The Habitat Maintainers <humans@habitat.sh>"
  5. pkg_license=('MIT' 'Unlicense')
  6. pkg_source="https://github.com/BurntSushi/${pkg_name}/releases/download/${pkg_version}/${pkg_name}-${pkg_version}-x86_64-unknown-linux-musl.tar.gz"
  7. pkg_dirname="${pkg_name}-${pkg_version}-x86_64-unknown-linux-musl"
  8. pkg_shasum=2e7978e346553fbc45c0940d9fa11e12f9afbae8213b261aad19b698150e169a
  9. pkg_bin_dirs=(bin)
  10. pkg_description="ripgrep combines the usability of The Silver Searcher with the raw speed of grep."
  11. pkg_upstream_url="https://github.com/BurntSushi/ripgrep"
  12. do_build() {
  13. return 0
  14. }
  15. do_install() {
  16. install -v -m 0755 "${CACHE_PATH}/rg" "${pkg_prefix}/bin/rg"
  17. }
  18. do_strip() {
  19. return 0
  20. }