[arch-commits] Commit in golang-github-alecthomas-template/repos/community-any (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Sep 1 06:23:25 UTC 2022


    Date: Thursday, September 1, 2022 @ 06:23:25
  Author: felixonmars
Revision: 1289763

archrelease: copy trunk to community-any

Added:
  golang-github-alecthomas-template/repos/community-any/PKGBUILD
    (from rev 1289762, golang-github-alecthomas-template/trunk/PKGBUILD)
Deleted:
  golang-github-alecthomas-template/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++----------------------------
 1 file changed, 28 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-09-01 06:23:11 UTC (rev 1289762)
+++ PKGBUILD	2022-09-01 06:23:25 UTC (rev 1289763)
@@ -1,28 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-github-alecthomas-template
-pkgver=0.0.20160405
-_commit=a0175ee3bccc567396460bf5acd36800cb10c49c
-pkgrel=2
-pkgdesc="Fork of Go's text/template adding newline elision"
-arch=('any')
-url="https://github.com/alecthomas/template"
-license=('BSD')
-depends=('go')
-source=("$pkgname-$_commit.tar.gz::https://github.com/alecthomas/template/archive/$_commit.tar.gz")
-sha512sums=('5ca546170725c3bdd4d9b27ca3976d6dc6376be8db685e6e26cfaef4a51560f78702b7babbe5ed0b2d934d0c32867bc69b11ae757071dc143a4453e6e7ffabdf')
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/github.com/alecthomas
-  cp -a "$srcdir"/template-$_commit "$srcdir"/build/src/github.com/alecthomas/template
-  cd "$srcdir"/build/src/github.com/alecthomas/template
-  go test -v $(go list ./...)
-}
-
-package() {
-  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
-}

Copied: golang-github-alecthomas-template/repos/community-any/PKGBUILD (from rev 1289762, golang-github-alecthomas-template/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-09-01 06:23:25 UTC (rev 1289763)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-alecthomas-template
+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"
+license=('BSD')
+depends=('go')
+source=("$pkgname-$_commit.tar.gz::https://github.com/alecthomas/template/archive/$_commit.tar.gz")
+sha512sums=('a2355c5ce4509ac4a5548d8b1d7b4b63b1c15781efb6dcf2b67c6b475ba9895b7f71f5f6f53923112acf205398023ac5a5d44b8f9edb339dc83d4d72a81d7c08')
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/github.com/alecthomas
+  cp -a "$srcdir"/template-$_commit "$srcdir"/build/src/github.com/alecthomas/template
+  cd "$srcdir"/build/src/github.com/alecthomas/template
+  go test -v $(go list ./...)
+}
+
+package() {
+  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 -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list