talimat 636 B

123456789101112131415161718192021
  1. # Tanım: Haskell Stack aracı
  2. # URL: https://github.com/commercialhaskell/stack
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. # Grup: geliştirme
  6. isim=stack-static
  7. surum=1.9.1
  8. devir=1
  9. kaynak=(https://github.com/commercialhaskell/stack/releases/download/v${surum}/stack-$surum-linux-x86_64-static.tar.gz
  10. stack.bash)
  11. derle() {
  12. cd "${SRC}"
  13. local d="stack-${surum}-linux-x86_64-static"
  14. mkdir -p "${PKG}"/usr/{{bin,share/licenses/"${isim}"},share/bash-completion/completions}
  15. cp "${d}/stack" "${PKG}/usr/bin"
  16. cp "${d}/LICENSE" "${PKG}/usr/share/licenses/${isim}/"
  17. cp "stack.bash" "${PKG}/usr/share/bash-completion/completions/stack"
  18. }