# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        zsh-users zsh-autosuggestions 0.7.1 v
github.tarball_from archive

categories          sysutils shells
platforms           any
supported_archs     noarch
license             MIT

maintainers         {@FranklinYu hotmail.com:franklinyu} openmaintainer
description         Fish-like fast/unobtrusive autosuggestions for zsh
long_description    Fish-like fast/unobtrusive autosuggestions for zsh. \
                    It suggests commands as you type based on history and completions.

checksums           rmd160  ae7bc78bdd3dfa078496bbc3dcdc57986f3e2516 \
                    sha256  0df7affff21cd87ed298e6a3970ed08a1dd66a6efa676454ee5b091ad503badf \
                    size    29968

use_configure       no

build {}

destroot {
    set dest_dir ${destroot}${prefix}/share/zsh-autosuggestions
    xinstall -d ${dest_dir}
    xinstall -m 644 ${worksrcpath}/zsh-autosuggestions.zsh ${dest_dir}
}
