[arch-commits] Commit in fish/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat May 23 22:01:56 UTC 2020


    Date: Saturday, May 23, 2020 @ 22:01:55
  Author: anthraxx
Revision: 632648

upgpkg: fish 3.1.2-2: adding tests

Modified:
  fish/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-23 22:01:54 UTC (rev 632647)
+++ PKGBUILD	2020-05-23 22:01:55 UTC (rev 632648)
@@ -7,7 +7,7 @@
 
 pkgname=fish
 pkgver=3.1.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Smart and user friendly shell intended mostly for interactive use'
 url='https://fishshell.com/'
 arch=('x86_64')
@@ -16,6 +16,7 @@
 optdepends=('python: man page completion parser / web config tool'
             'pkgfile: command-not-found hook')
 makedepends=('cmake' 'python-sphinx')
+checkdepends=('expect')
 install=fish.install
 backup=(etc/fish/config.fish)
 source=(https://github.com/fish-shell/fish-shell/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz{,.asc})
@@ -38,6 +39,11 @@
   make -C build VERBOSE=1
 }
 
+check() {
+  cd ${pkgname}-${pkgver}
+  make -C build test
+}
+
 package() {
   cd ${pkgname}-${pkgver}
   make -C build DESTDIR="${pkgdir}" install



More information about the arch-commits mailing list