summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD27
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..bfd3ed0b4d1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = bash_unit
+ pkgdesc = bash unit testing enterprise edition framework for professionals
+ pkgver = 114.7732279
+ pkgrel = 1
+ url = https://github.com/pgrange/bash_unit
+ arch = any
+ license = GPL
+ depends = bash
+ source = git+https://github.com/pgrange/bash_unit.git
+ md5sums = SKIP
+
+pkgname = bash_unit
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..faaa4b554aa
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: n0vember <n0vember at half-9 dot net>
+pkgname=bash_unit
+pkgver=114.7732279
+pkgrel=1
+pkgdesc="bash unit testing enterprise edition framework for professionals"
+arch=('any')
+url="https://github.com/pgrange/bash_unit"
+license=('GPL')
+depends=('bash')
+source=(git+https://github.com/pgrange/bash_unit.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ true
+}
+
+package() {
+ cd "$pkgname"
+
+ install -Dm755 -o root -g root bash_unit "$pkgdir/usr/bin/bash_unit"
+}
+