[arch-commits] Commit in golang-github-alecthomas-template/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Sep 1 06:23:11 UTC 2022
Date: Thursday, September 1, 2022 @ 06:23:11
Author: felixonmars
Revision: 1289762
upgpkg: golang-github-alecthomas-template 0.0.20190718-1
Modified:
golang-github-alecthomas-template/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-01 05:59:21 UTC (rev 1289761)
+++ PKGBUILD 2022-09-01 06:23:11 UTC (rev 1289762)
@@ -1,9 +1,9 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=golang-github-alecthomas-template
-pkgver=0.0.20160405
-_commit=a0175ee3bccc567396460bf5acd36800cb10c49c
-pkgrel=2
+pkgver=0.0.20190718
+_commit=fb15b899a75114aa79cc930e33c46b577cc664b1
+pkgrel=1
pkgdesc="Fork of Go's text/template adding newline elision"
arch=('any')
url="https://github.com/alecthomas/template"
@@ -10,7 +10,7 @@
license=('BSD')
depends=('go')
source=("$pkgname-$_commit.tar.gz::https://github.com/alecthomas/template/archive/$_commit.tar.gz")
-sha512sums=('5ca546170725c3bdd4d9b27ca3976d6dc6376be8db685e6e26cfaef4a51560f78702b7babbe5ed0b2d934d0c32867bc69b11ae757071dc143a4453e6e7ffabdf')
+sha512sums=('a2355c5ce4509ac4a5548d8b1d7b4b63b1c15781efb6dcf2b67c6b475ba9895b7f71f5f6f53923112acf205398023ac5a5d44b8f9edb339dc83d4d72a81d7c08')
check() {
export GOPATH="$srcdir/build:/usr/share/gocode"
@@ -24,5 +24,5 @@
mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/alecthomas
cp -a "$srcdir"/template-$_commit "$pkgdir"/usr/share/gocode/src/github.com/alecthomas/template
- install -Dm644 template-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 template-$_commit/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
}
More information about the arch-commits
mailing list