Levente Polyak pushed to branch main at Arch Linux / Packaging / Packages / 
bash-preexec


Commits:
19fc708c by Levente Polyak at 2023-12-16T00:46:10+01:00
upgpkg: 0.5.0-2: bats rebuild

- enable parallel tests

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,16 @@
+pkgbase = bash-preexec
+       pkgdesc = preexec and precmd functions for Bash just like Zsh
+       pkgver = 0.5.0
+       pkgrel = 2
+       url = https://github.com/rcaloras/bash-preexec
+       install = bash-preexec.install
+       arch = any
+       license = MIT
+       makedepends = bats
+       makedepends = coreutils
+       source = 
bash-preexec-0.5.0.tar.gz::https://github.com/rcaloras/bash-preexec/archive/0.5.0.tar.gz
+       source = 
bash-preexec-0.5.0-tests.patch::https://github.com/rcaloras/bash-preexec/commit/a44754f5c3ca76b0330324680670cb8574d2768f.patch
+       sha256sums = 
23c589cd1da209c0598f92fac8d81bb11632ba1b2e68ccaf4ad2c4f3204b877c
+       sha256sums = 
db9e914aa8cb27883c9ba100ff8b38080f9108fd6f438764b9ae1ca4ae2d17bf
+
+pkgname = bash-preexec


=====================================
PKGBUILD
=====================================
@@ -3,12 +3,12 @@
 
 pkgname=bash-preexec
 pkgver=0.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc="preexec and precmd functions for Bash just like Zsh"
 arch=('any')
 url="https://github.com/rcaloras/bash-preexec";
 license=('MIT')
-makedepends=('bash-bats')
+makedepends=('bats' 'coreutils')
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
         
"$pkgname-$pkgver-tests.patch::$url/commit/a44754f5c3ca76b0330324680670cb8574d2768f.patch")
 install=$pkgname.install
@@ -22,12 +22,12 @@ prepare() {
 
 check() {
   cd "$pkgname-$pkgver/test"
-  bats .
+  bats --jobs "$(nproc)" .
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  install -Dm 755 "${pkgname}.sh" -t "$pkgdir/usr/share/$pkgname" 
+  install -Dm 755 "${pkgname}.sh" -t "$pkgdir/usr/share/$pkgname"
   install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
   install -Dm 644 LICENSE.md -t "$pkgdir/usr/share/licenses/$pkgname"
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bash-preexec/-/commit/19fc708c58f0d493236e594ca70987d4afd740b8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/bash-preexec/-/commit/19fc708c58f0d493236e594ca70987d4afd740b8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to