blob: 4641e0e870a5a3a01779bf801fee3d0f5dd180e9 (
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Jan Fader <jan.fader@web.de>
# Contributor: Stephen Drodge <stephen.drodge@gmail.com>
# Contributor: Akatsuki Rui <aur@akii.work>
# Maintainer: SanskritFritz (gmail)
pkgname=fish-git
_gitname="fish-shell"
pkgver=4.0b1.r101.gd5efef1cc
pkgrel=1
epoch=2
pkgdesc="User friendly shell intended mostly for interactive use."
arch=('i686' 'x86_64' 'arm')
url="https://github.com/fish-shell/fish-shell"
license=('GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0')
depends=(
'gcc-libs'
'glibc'
'ncurses'
'pcre2'
)
optdepends=(
'python: man page completion parser / web config tool'
'pkgfile: command-not-found hook'
)
makedepends=(
'cargo'
'cmake'
'git'
'jq'
'python-sphinx'
)
checkdepends=(
'expect'
'procps-ng'
)
options=(!lto)
provides=(
'fish'
'fish-shell'
)
conflicts=(
'fish'
'fish-shell'
)
source=(
"git+https://github.com/fish-shell/fish-shell.git"
)
install='fish.install'
backup=(etc/fish/config.fish)
b2sums=('SKIP')
pkgver() {
cd "$_gitname"
git describe --long | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$_gitname"
export CXXFLAGS+=" ${CPPFLAGS}"
cmake \
-B build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DBUILD_DOCS=True \
-Wno-dev
make -C build
}
check() {
cd "$_gitname"
make -C build test
}
package() {
cd "$_gitname"
make -C build DESTDIR="$pkgdir" install
}
|