[arch-commits] Commit in fish/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sat Mar 13 00:53:43 UTC 2021


    Date: Saturday, March 13, 2021 @ 00:53:43
  Author: felixonmars
Revision: 889961

archrelease: copy trunk to community-testing-x86_64

Added:
  fish/repos/community-testing-x86_64/
  fish/repos/community-testing-x86_64/PKGBUILD
    (from rev 889960, fish/trunk/PKGBUILD)
  fish/repos/community-testing-x86_64/fish.install
    (from rev 889960, fish/trunk/fish.install)

--------------+
 PKGBUILD     |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 fish.install |   14 ++++++++++++++
 2 files changed, 66 insertions(+)

Copied: fish/repos/community-testing-x86_64/PKGBUILD (from rev 889960, fish/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-03-13 00:53:43 UTC (rev 889961)
@@ -0,0 +1,52 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Abhishek Dasgupta <abhidg at gmail.com>
+# Contributor: Eric Belanger <eric at archlinux.org>
+# Contributor: Jan Fader <jan.fader at web.de>
+
+pkgname=fish
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='Smart and user friendly shell intended mostly for interactive use'
+url='https://fishshell.com/'
+arch=('x86_64')
+license=('GPL2')
+depends=('glibc' 'gcc-libs' 'ncurses' 'pcre2')
+optdepends=('python: man page completion parser / web config tool'
+            'pkgfile: command-not-found hook')
+makedepends=('cmake' 'python-sphinx')
+checkdepends=('expect' 'procps-ng')
+install=fish.install
+backup=(etc/fish/config.fish)
+source=(https://github.com/fish-shell/fish-shell/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz{,.asc})
+validpgpkeys=(003837986104878835FA516D7A67D962D88A709A) # David Adam <zanchey at gmail.com>
+sha256sums=('4f0293ed9f6a6b77e47d41efabe62f3319e86efc8bf83cc58733044fbc6f9211'
+            'SKIP')
+sha512sums=('4525b8dd991179f77a298080d389813d1da8557bd394d174ded9238570715137e3aeec009d123811b34c07856d5f7cbe0ad35dc599d748f8f305036c3b74face'
+            'SKIP')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  export CXXFLAGS+=" ${CPPFLAGS}"
+  cmake \
+    -B build \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+    -DCMAKE_BUILD_TYPE=None \
+    -DBUILD_DOCS=True \
+    -Wno-dev
+  make -C build VERBOSE=1
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make -C build test
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make -C build DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:

Copied: fish/repos/community-testing-x86_64/fish.install (from rev 889960, fish/trunk/fish.install)
===================================================================
--- community-testing-x86_64/fish.install	                        (rev 0)
+++ community-testing-x86_64/fish.install	2021-03-13 00:53:43 UTC (rev 889961)
@@ -0,0 +1,14 @@
+post_install() {
+  grep -qe '^/usr/bin/fish$' etc/shells || echo '/usr/bin/fish' >> etc/shells
+  grep -qe '^/bin/fish$' etc/shells || echo '/bin/fish' >> etc/shells
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  sed -ri -e '\|^/usr/bin/fish$|d' -e '\|^/bin/fish$|d' etc/shells
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list