blob: e99ec4db61cdc7b9c97363bbaab52689de28e092 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
# Contributor: Daniel Maslowski <info@orangecms.org>
_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"
}
|