mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +08:00
[skip-ci] fish: update to 3.0.0
This commit is contained in:
parent
ab8551ec0b
commit
c6c186440a
@ -1,28 +1,39 @@
|
|||||||
|
# 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 \
|
||||||
make
|
--sysconfdir=/etc
|
||||||
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd fish-shell-${pkgver}
|
cd fish-shell-${pkgver}
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
11
fish/fish.install
Normal file
11
fish/fish.install
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user