blob: 910490b64aa8d52ac573df0454d4f966b92a01a7 (
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
35
36
37
|
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
# Contributor: Daniel Maslowski <info@orangecms.org>
_branch=master
pkgname=fisher-git
pkgver=3.2.6.r1.gae878a8
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")
makedepends=("git")
conflicts=("fisher")
install=fisher-git.install
source=(
"git+https://github.com/jorgebucaran/fisher.git#branch=${_branch}"
)
sha512sums=(
"SKIP"
)
pkgver() {
cd "fisher"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
sharepath="${pkgdir}/usr/share"
fishpath="${sharepath}/fish"
# install Fisherman into the global fish directory
cd "fisher"
install -Dm 644 fisher.fish "${fishpath}/vendor_functions.d/fisher.fish"
# README
install -Dm 644 README.md "${sharepath}/doc/${pkgname}/README"
}
|