diff options
author | Jose-Luis Rivas <ghostbar@riseup.net> | 2016-05-25 23:15:44 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-07-11 17:05:47 +0000 |
commit | db4a837179aab9d959f06be300f3efbedca17369 (patch) | |
tree | 06cb668071c5adeb967849b19357c114b491b140 /testing/bats/APKBUILD | |
parent | 7685ea852475004b2c2db51c43055a232b20ebbb (diff) | |
download | aports-db4a837179aab9d959f06be300f3efbedca17369.tar.bz2 aports-db4a837179aab9d959f06be300f3efbedca17369.tar.xz |
testing/bats: new package for bash automated testing
Diffstat (limited to 'testing/bats/APKBUILD')
-rw-r--r-- | testing/bats/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/bats/APKBUILD b/testing/bats/APKBUILD new file mode 100644 index 0000000000..18b47abb24 --- /dev/null +++ b/testing/bats/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: Jose-Luis Rivas <ghostbar@riseup.net> +pkgname=bats +pkgver=0.4.0 +pkgrel=0 +pkgdesc="Bash Automated Testing System" +url="https://github.com/sstephenson/bats" +arch="noarch" +license="MIT" +depends="bash" +makedepends="$depends_dev bash" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/sstephenson/$pkgname/archive/v$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + return 0 +} + +build() { + return 0 +} + +package() { + cd "$_builddir" + bash install.sh "$pkgdir"/usr || return 1 + ls "$pkgdir"/usr/bin/ +} + +md5sums="aeeddc0b36b8321930bf96fce6ec41ee bats-0.4.0.tar.gz" +sha256sums="480d8d64f1681eee78d1002527f3f06e1ac01e173b761bc73d0cf33f4dc1d8d7 bats-0.4.0.tar.gz" +sha512sums="83c6c0e3ceec149708a8db5d33e95cc84852d8189498c22131c00f4288a6c870f9d522bae9230157f442338dc101e1468451d78dfa274afb83a6f0dd614c8bdb bats-0.4.0.tar.gz" |