Skip to content

Instantly share code, notes, and snippets.

@nosada
Last active March 2, 2019 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nosada/550ad12f8bde4f8666ba760140dfc959 to your computer and use it in GitHub Desktop.
Save nosada/550ad12f8bde4f8666ba760140dfc959 to your computer and use it in GitHub Desktop.
Update fish on Arch Linux to 3.0.2 and backport a commit to resolve https://bbs.archlinux.org/viewtopic.php?id=244420
diff --git a/fish/trunk/PKGBUILD b/fish/trunk/PKGBUILD
index 4b16fd36fdd..d276131e66d 100644
--- a/fish/trunk/PKGBUILD
+++ b/fish/trunk/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: Jan Fader <jan.fader@web.de>
pkgname=fish
-pkgver=3.0.1
+pkgver=3.0.2
pkgrel=1
pkgdesc='Smart and user friendly shell intended mostly for interactive use'
url='https://fishshell.com/'
@@ -16,8 +16,10 @@ depends=('bc' 'gcc-libs' 'inetutils' 'ncurses' 'which' 'pcre2')
optdepends=('python: for manual page completion parser and web configuration tool')
makedepends=('doxygen')
install=fish.install
-source=(https://github.com/fish-shell/fish-shell/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('6203b317c503b92c6f742eeb06f9e01558c6a31394ea73134c90b1cf0acebc5b88cdfe18cacf17f70d9b1612289f610e78a7cb683ffbfd9d616e1848f9861bcf')
+source=(https://github.com/fish-shell/fish-shell/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+ https://github.com/fish-shell/fish-shell/commit/c6ec4235136e82c709e8d7b455f7c463f9714b48.patch)
+sha512sums=('d3a24f85d4ada891ec4f6b14733edb236ae67f34868b0c9115fa5ebae99202a747ee9aeec7c6b04702f9a608019d5964b9cdc9abc4e3edfd7aaa9335093d8881'
+ 'fea53164beff7bae0729136be66d2925b30c4acfa0846f7f2c6a816504ee2e9f3a72e28e6e95c7c9c075ca9d7fd9327cf5a4241ba22caf8bc2b148c9c8b8af76')
prepare() {
cd fish-shell-${pkgver}
@@ -27,6 +29,7 @@ prepare() {
build() {
cd fish-shell-${pkgver}
+ patch -p1 < ../c6ec4235136e82c709e8d7b455f7c463f9714b48.patch
./configure \
--prefix=/usr \
--sysconfdir=/etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment