# Maintainer: Sefa Eyeoglu # Contributor: Daniel Maslowski _pkgname=fisher pkgname=${_pkgname}-git pkgver=4.3.0.r0.g247b58e0d97c785e pkgrel=1 pkgdesc="A package manager for the fish shell" arch=(any) url="https://github.com/jorgebucaran/fisher" license=("MIT") depends=("fish>=2.3.0" "curl" "git") provides=("$_pkgname") conflicts=("$_pkgname") source=("${_pkgname}::git+https://github.com/jorgebucaran/fisher.git") sha512sums=('SKIP') pkgver() { cd "$_pkgname" git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { cd "$_pkgname" # install fisher into the global fish directory install -Dm 644 functions/fisher.fish "${pkgdir}/usr/share/fish/vendor_functions.d/fisher.fish" install -Dm 644 completions/fisher.fish "${pkgdir}/usr/share/fish/vendor_completions.d/fisher.fish" # README and LICENSE install -Dm 644 LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md" install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README" }