diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2020-04-27 06:32:30 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2020-04-27 06:32:36 +0000 |
commit | e9c0f62f68ae7415f7dad299f277762f704f3fed (patch) | |
tree | f4ada3faaddd941afe17a2b7baf31396c46ad0ae | |
parent | cb9e313779212e0b1c69eebba6aa9ba4a7c4ca7f (diff) | |
download | alpine_aports-e9c0f62f68ae7415f7dad299f277762f704f3fed.tar.bz2 alpine_aports-e9c0f62f68ae7415f7dad299f277762f704f3fed.tar.xz alpine_aports-e9c0f62f68ae7415f7dad299f277762f704f3fed.zip |
testing/speedtest: upgrade to 5.2
-rw-r--r-- | testing/speedtest/APKBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/speedtest/APKBUILD b/testing/speedtest/APKBUILD index ce8fe67738..1f5387d5a3 100644 --- a/testing/speedtest/APKBUILD +++ b/testing/speedtest/APKBUILD | |||
@@ -2,8 +2,8 @@ | |||
2 | # Maintainer: Francesco Colista <fcolista@alpinelinux.org> | 2 | # Maintainer: Francesco Colista <fcolista@alpinelinux.org> |
3 | _php=php7 | 3 | _php=php7 |
4 | pkgname=speedtest | 4 | pkgname=speedtest |
5 | pkgver=4.6.2 | 5 | pkgver=5.2 |
6 | pkgrel=1 | 6 | pkgrel=0 |
7 | pkgdesc="Self-hosted HTML5 Speedtest" | 7 | pkgdesc="Self-hosted HTML5 Speedtest" |
8 | url="http://speedtest.fdossena.com" | 8 | url="http://speedtest.fdossena.com" |
9 | arch="noarch" | 9 | arch="noarch" |
@@ -17,7 +17,6 @@ builddir="$srcdir"/$pkgname-$pkgver | |||
17 | _destdir="/usr/share/webapps/$pkgname" | 17 | _destdir="/usr/share/webapps/$pkgname" |
18 | _docdir="/usr/share/doc/$pkgname" | 18 | _docdir="/usr/share/doc/$pkgname" |
19 | 19 | ||
20 | |||
21 | build() { | 20 | build() { |
22 | return 0 | 21 | return 0 |
23 | } | 22 | } |
@@ -25,9 +24,8 @@ build() { | |||
25 | package() { | 24 | package() { |
26 | mkdir -p "$pkgdir"/$_destdir "$pkgdir"/$_docdir | 25 | mkdir -p "$pkgdir"/$_destdir "$pkgdir"/$_docdir |
27 | mv *.md "$pkgdir"/$_docdir | 26 | mv *.md "$pkgdir"/$_docdir |
28 | mv garbage.php getIP.php empty.php speedtest_worker.min.js speedtest_worker.js \ | 27 | mv backend results *.js "$pkgdir"/$_destdir |
29 | "$pkgdir"/$_destdir | 28 | cp example-singleServer-pretty.html "$pkgdir"/$_destdir/index.html |
30 | mv example-gauges.html "$pkgdir"/$_destdir/index.html | ||
31 | } | 29 | } |
32 | 30 | ||
33 | examples() { | 31 | examples() { |
@@ -35,4 +33,4 @@ examples() { | |||
35 | mv "$builddir"/example* "$subpkgdir"/$_destdir | 33 | mv "$builddir"/example* "$subpkgdir"/$_destdir |
36 | } | 34 | } |
37 | 35 | ||
38 | sha512sums="24fef6d9e9b9428e145ac564a66effdfbd84630a9183cb5e1c568ec8bd18d3577920c7ba631103a2c3f27f35cd4e2637b0c2598d61b1afe40642f58a447b5bd4 speedtest-4.6.2.tar.gz" | 36 | sha512sums="79e4ed0d065db5e345a904d105ab97154d8012bfe08b3c6a0c5d42399451f833073266c46d1ba9c15348cb9f22f37d1bc4ec712adc34b840b3285449588562ac speedtest-5.2.tar.gz" |