Date: Thursday, February 24, 2022 @ 20:23:52
  Author: foxboron
Revision: 1136492

archrelease: copy trunk to community-any

Added:
  bash-bats/repos/community-any/PKGBUILD
    (from rev 1136491, bash-bats/trunk/PKGBUILD)
Deleted:
  bash-bats/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-02-24 20:23:44 UTC (rev 1136491)
+++ PKGBUILD    2022-02-24 20:23:52 UTC (rev 1136492)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-# Maintainer: Morten Linderud <foxbo...@archlinux.org>
-# Contributor: Andre Schröder <andre.schroedr at gmail dot com>
-# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
-
-pkgname=bash-bats
-pkgver=1.5.0
-pkgrel=1
-pkgdesc="Bash Automated Testing System"
-arch=("any")
-url="https://github.com/bats-core/bats-core";
-license=("MIT")
-depends=('bash')
-source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
-sha256sums=('36a3fd4413899c0763158ae194329af8f48bb1ff0d1338090b80b3416d5793af')
-
-check() {
-  cd "bats-core-${pkgver}"
-  TERM=linux bin/bats --tap test
-}
-
-package() {
-  cd "bats-core-${pkgver}"
-
-  # Also rename the bats-core/ folder to bats/
-  sed -i 's/BATS_ROOT\/libexec\/bats-core\/bats/BATS_ROOT\/lib\/bats\/bats/g' 
bin/bats
-
-  # Rename the bats-core/ folder to bats/
-  sed -i 's/BATS_ROOT\/lib\/bats-core\//BATS_ROOT\/lib\/bats\//g' 
libexec/bats-core/*
-
-  for fn in libexec/bats-core/*; do
-    install -Dm755 ${fn} \
-      "${pkgdir}"/usr/lib/bats/$(basename ${fn})
-  done
-
-  install -Dm755 bin/bats "${pkgdir}/usr/bin/bats"
-
-  install -Dm755 lib/bats-core/* -t "${pkgdir}/usr/lib/bats"
-
-  install -Dm644 man/bats.1 "${pkgdir}/usr/share/man/man1/bats.1"
-  install -Dm644 man/bats.7 "${pkgdir}/usr/share/man/man7/bats.7"
-  install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-
-}

Copied: bash-bats/repos/community-any/PKGBUILD (from rev 1136491, 
bash-bats/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-02-24 20:23:52 UTC (rev 1136492)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Maintainer: Morten Linderud <foxbo...@archlinux.org>
+# Contributor: Andre Schröder <andre.schroedr at gmail dot com>
+# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
+
+pkgname=bash-bats
+pkgver=1.6.0
+pkgrel=1
+pkgdesc="Bash Automated Testing System"
+arch=("any")
+url="https://github.com/bats-core/bats-core";
+license=("MIT")
+depends=('bash')
+source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz)
+sha256sums=('a8572da41593d13837df6c93d01fc0867c0701c53a7e29b7a7c867dcce19a239')
+
+check() {
+  cd "bats-core-${pkgver}"
+  TERM=linux bin/bats --tap test
+}
+
+package() {
+  cd "bats-core-${pkgver}"
+
+  # Also rename the bats-core/ folder to bats/
+  sed -i 's/BATS_ROOT\/libexec\/bats-core\/bats/BATS_ROOT\/lib\/bats\/bats/g' 
bin/bats
+
+  # Rename the bats-core/ folder to bats/
+  sed -i 's/BATS_ROOT\/lib\/bats-core\//BATS_ROOT\/lib\/bats\//g' 
libexec/bats-core/*
+
+  for fn in libexec/bats-core/*; do
+    install -Dm755 ${fn} \
+      "${pkgdir}"/usr/lib/bats/$(basename ${fn})
+  done
+
+  install -Dm755 bin/bats "${pkgdir}/usr/bin/bats"
+
+  install -Dm755 lib/bats-core/* -t "${pkgdir}/usr/lib/bats"
+
+  install -Dm644 man/bats.1 "${pkgdir}/usr/share/man/man1/bats.1"
+  install -Dm644 man/bats.7 "${pkgdir}/usr/share/man/man7/bats.7"
+  install -Dm644 LICENSE.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+}

Reply via email to