[alpine-aports,2/2] testing/samurai: use upstream provided source archive

Message ID 20190318070509.21398-2-mforney@mforney.org
State New
Headers show
Series
  • [alpine-aports,1/2] testing/samurai: remove check()
Related show

Commit Message

Michael Forney March 18, 2019, 7:05 a.m. UTC
The GitHub tag archives are not necessarily stable, so the upstream
provided one should be preferred.
---
 testing/samurai/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/testing/samurai/APKBUILD b/testing/samurai/APKBUILD
index befb1c1772..51a9a3239f 100644
--- a/testing/samurai/APKBUILD
+++ b/testing/samurai/APKBUILD
@@ -2,14 +2,14 @@ 
 # Maintainer: Drew DeVault <sir@cmpwn.com>
 pkgname=samurai
 pkgver=0.6
-pkgrel=1
+pkgrel=2
 pkgdesc="ninja-compatible build tool written in C"
 url="https://github.com/michaelforney/samurai"
 arch="all"
 license="Apache-2.0"
 options="!check"  # No test suite.
 subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/michaelforney/$pkgname/archive/$pkgver.tar.gz"
+source="https://github.com/michaelforney/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
 builddir="$srcdir/$pkgname-$pkgver"
 
 build() {