summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD3
-rw-r--r--bash-bats-detik.install4
3 files changed, 8 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 192306ae5a6f..6a6c11877847 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,9 @@
pkgbase = bash-bats-detik
pkgdesc = A library to ease e2e tests of applications in K8s environments with bats
pkgver = 1.1.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/bats-core/bats-detik
+ install = bash-bats-detik.install
arch = any
license = MIT
depends = bash-bats
diff --git a/PKGBUILD b/PKGBUILD
index 94218fd92cd6..0d0d1c377eb4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,13 @@
pkgname=bash-bats-detik
pkgver=1.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="A library to ease e2e tests of applications in K8s environments with bats"
arch=("any")
url="https://github.com/bats-core/bats-detik"
license=("MIT")
depends=('bash-bats')
+install=bash-bats-detik.install
source=("https://github.com/bats-core/bats-detik/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('c2b5414ff1d52655a4aefe266dc96be23591fbcfed288d16ec656fb0bedcd8c4da370767000b5c59faba1c34dea0c2767ec2684cb48d0d220a50472e23a0019f')
diff --git a/bash-bats-detik.install b/bash-bats-detik.install
new file mode 100644
index 000000000000..426a737d2c15
--- /dev/null
+++ b/bash-bats-detik.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo -e "\nTo use bat-detik library add these lines\nto your bats test or common_setup function"
+ echo -e '\nload "/lib/bats-detik/utils.bash" \nload "/lib/bats-detik/detik.bash"\n'
+}