diff options
author | Simon Reiser | 2021-01-23 22:13:25 +0100 |
---|---|---|
committer | Simon Reiser | 2021-01-23 22:13:25 +0100 |
commit | bcd6bde85791dbf08ec96a7c8785a5e356caf5df (patch) | |
tree | 82f7ccc196c0d7ba424c962c0689697838d75894 | |
parent | 090d5e903e40bf945283cd936c77225b0f3d3a3b (diff) | |
download | aur-bcd6bde85791dbf08ec96a7c8785a5e356caf5df.tar.gz |
v2.5.1-4
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = stack-static pkgdesc = The Haskell Tool Stack (linked statically) pkgver = 2.5.1 - pkgrel = 3 + pkgrel = 4 url = https://github.com/commercialhaskell/stack arch = x86_64 license = custom:BSD3 @@ -3,7 +3,7 @@ _arch=$(uname -m) pkgname=stack-static pkgver=2.5.1 -pkgrel=3 +pkgrel=4 pkgdesc="The Haskell Tool Stack (linked statically)" arch=('x86_64') url="https://github.com/commercialhaskell/stack" @@ -28,7 +28,7 @@ package() { cd "${srcdir}" local d="stack-${pkgver}-linux-x86_64" mkdir -p "${pkgdir}"/usr/{bin,share/{doc,licenses}/"${pkgname}"} - mkdir -p "${pkgdir}"/usr/share/{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions} + mkdir -p "${pkgdir}"/usr/share/{bash-completion/completions,fish/vendor_completions.d} cp "${d}/stack" "${pkgdir}/usr/bin" cp -R "${d}/doc/." "${pkgdir}/usr/share/doc/${pkgname}/" cp "${d}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/" @@ -36,7 +36,8 @@ package() { local stack=${d}/stack "$stack" --bash-completion-script stack >"$pkgdir"/usr/share/bash-completion/completions/stack "$stack" --fish-completion-script stack > "$pkgdir"/usr/share/fish/vendor_completions.d/stack.fish - "$stack" --zsh-completion-script stack > "$pkgdir"/usr/share/zsh/site-functions/_stack + # conflicts with zsh-completion: + # "$stack" --zsh-completion-script stack > "$pkgdir"/usr/share/zsh/site-functions/_stack } # vim:set ts=2 sw=2 et: |