Commit c6c18644 authored by Jeff Huang's avatar Jeff Huang 🤔
Browse files

[skip-ci] fish: update to 3.0.0

parent ab8551ec
Pipeline #2230 skipped
# Contributions from Arch:
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Kaiting Chen <kaitocracy@gmail.com>
# Contributor: Abhishek Dasgupta <abhidg@gmail.com>
# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Jan Fader <jan.fader@web.de>
pkgname=fish pkgname=fish
pkgver=2.7.1 pkgver=3.0.0
pkgrel=1 pkgrel=1
pkgdesc='Smart and user friendly shell intended mostly for interactive use' pkgdesc='Smart and user friendly shell intended mostly for interactive use'
url='https://fishshell.com/'
arch=('x86_64') arch=('x86_64')
url='https://www.fishshell.com/'
license=('GPL2') license=('GPL2')
makedepends=('gcc' 'doxygen') depends=('bc' 'gcc-libs' 'inetutils' 'ncurses' 'which' 'pcre2')
depends=('ncurses' 'gettext') optdepends=('python3: for manual page completion parser and web configuration tool')
source=("https://github.com/fish-shell/fish-shell/archive/${pkgver}.tar.gz") makedepends=('doxygen')
sha512sums=('53eb8082812f28386b491ea18caa4a51ac66ead87fa78d5584275c66f1335b8705fad266170dc2ed6ee9e5d1febcdf0869c37ed2f95b58c10a74faf4ad95e610') install=fish.install
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/fish-shell/fish-shell/archive/${pkgver}.tar.gz)
sha512sums=('97efb67c34860794787b44c04fbb8ebc1b7a8c37da00e7f6d93daab6707f198a2e0455e956a3b1c6a0c1711fa2d0f024ba42a3f82fbb17e857c518a858bb2ffb')
prepare() { prepare() {
cd fish-shell-${pkgver} cd fish-shell-${pkgver}
autoreconf echo ${pkgver} > version
autoreconf -fiv
} }
build() { build() {
cd fish-shell-${pkgver} cd fish-shell-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc ./configure --prefix=/usr \
--sysconfdir=/etc
make make
} }
...@@ -25,4 +37,3 @@ package() { ...@@ -25,4 +37,3 @@ package() {
cd fish-shell-${pkgver} cd fish-shell-${pkgver}
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
} }
post_install() {
grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells
}
post_upgrade() {
post_install
}
pre_remove() {
sed -ri '\|^/usr/bin/fish$|d' etc/shells
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment