aboutsummaryrefslogtreecommitdiffstats
path: root/community/bats/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/bats/APKBUILD')
-rw-r--r--community/bats/APKBUILD28
1 files changed, 8 insertions, 20 deletions
diff --git a/community/bats/APKBUILD b/community/bats/APKBUILD
index 0e37c36101..1ffc4780a0 100644
--- a/community/bats/APKBUILD
+++ b/community/bats/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Jose-Luis Rivas <ghostbar@riseup.net>
pkgname=bats
-pkgver=0.4.0
-pkgrel=2
+pkgver=1.0.2
+pkgrel=0
pkgdesc="Bash Automated Testing System"
-url="https://github.com/sstephenson/bats"
+url="https://github.com/bats-core/bats-core"
arch="noarch"
license="MIT"
depends="bash"
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/sstephenson/$pkgname/archive/v$pkgver.tar.gz
- 0001-test-bats-Add-fake-tput-to-fix-Alpine-tests.patch"
-builddir="$srcdir/$pkgname-$pkgver"
+depends_doc="man"
+source="$pkgname-$pkgver.zip::https://github.com/bats-core/bats-core/archive/v$pkgver.zip"
+builddir="$srcdir/bats-core-$pkgver"
check() {
cd "$builddir"
@@ -19,18 +19,6 @@ check() {
package() {
cd "$builddir"
-
- mkdir -p "$pkgdir"/usr/lib/bats "$pkgdir"/usr/bin
-
- # Note: We don't use /usr/libexec in Alpine.
- cp -r libexec/* "$pkgdir"/usr/lib/bats
- ln -s ../lib/bats/bats "$pkgdir"/usr/bin/bats
-
- local i; for i in 1 7; do
- install -m 644 -D man/bats.$i \
- "$pkgdir"/usr/share/man/man$i/bats.$i
- done
+ ./install.sh "$pkgdir"/usr
}
-
-sha512sums="83c6c0e3ceec149708a8db5d33e95cc84852d8189498c22131c00f4288a6c870f9d522bae9230157f442338dc101e1468451d78dfa274afb83a6f0dd614c8bdb bats-0.4.0.tar.gz
-f6e6453e0cd783dc6835cd1f1e256bc8fcfad2ba1611bd4901cf586cb227788516ef74cadcad05889b15a23251a2c23f3f07e4676c1d229cb80bec8e8bf49394 0001-test-bats-Add-fake-tput-to-fix-Alpine-tests.patch"
+sha512sums="3c45db6640c61a47b1f1a3d1a4a4fe64ad11558f71b3c2f70498a93287a7484279c8a750d2ed4c97069b812345588d843b2b571afceeaee9781e2a9e448172d4 bats-1.0.2.zip"