[arch-commits] Commit in golang-github-alecthomas-units/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 26 07:20:51 UTC 2020
Date: Friday, June 26, 2020 @ 07:20:50
Author: felixonmars
Revision: 653560
upgpkg: golang-github-alecthomas-units 0.0.20151022-2
Modified:
golang-github-alecthomas-units/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-26 07:20:46 UTC (rev 653559)
+++ PKGBUILD 2020-06-26 07:20:50 UTC (rev 653560)
@@ -3,12 +3,13 @@
pkgname=golang-github-alecthomas-units
pkgver=0.0.20151022
_commit=2efee857e7cfd4f3d0138cc3cbb1b4966962b93a
-pkgrel=1
+pkgrel=2
pkgdesc='Helpful unit multipliers and functions for Go'
arch=('any')
url="https://github.com/alecthomas/units"
license=('MIT')
-depends=('go-pie' 'golang-github-stretchr-testify')
+depends=('go' 'golang-github-stretchr-testify')
+checkdepends=('git')
source=("$pkgname-$_commit.tar.gz::https://github.com/alecthomas/units/archive/$_commit.tar.gz")
sha512sums=('855f15eeb83bdc16981694f522aa1e200a3857ed11ae87fca9b0cc70734eac76f5082bc3ed92f843b818da14b58dc921dbb1aed4ea35de056c087a64b7e25fe4')
@@ -17,6 +18,7 @@
mkdir -p "$srcdir"/build/src/github.com/alecthomas
cp -a "$srcdir"/units-$_commit "$srcdir"/build/src/github.com/alecthomas/units
cd "$srcdir"/build/src/github.com/alecthomas/units
+ go get gopkg.in/yaml.v3
go test -v $(go list ./...)
}
More information about the arch-commits
mailing list