[arch-commits] Commit in golang-github-jung-kurt-gofpdf/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Apr 2 09:37:23 UTC 2019
Date: Tuesday, April 2, 2019 @ 09:37:22
Author: felixonmars
Revision: 447478
archrelease: copy trunk to community-any
Added:
golang-github-jung-kurt-gofpdf/repos/community-any/PKGBUILD
(from rev 447477, golang-github-jung-kurt-gofpdf/trunk/PKGBUILD)
Deleted:
golang-github-jung-kurt-gofpdf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 57 ++++++++++++++++++++++++++++-----------------------------
1 file changed, 28 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-02 09:37:15 UTC (rev 447477)
+++ PKGBUILD 2019-04-02 09:37:22 UTC (rev 447478)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-github-jung-kurt-gofpdf
-pkgver=1.0.0.20180222
-_commit=567bef933d5649777a8b39772ad57dc9ddaba8d8
-pkgrel=1
-pkgdesc='A PDF document generator with high level support for text, drawing and images'
-arch=('any')
-url="https://github.com/jung-kurt/gofpdf"
-license=('MIT')
-depends=('go-pie' 'golang-github-boombuler-barcode' 'golang-github-ruudk-golang-pdf417'
- 'golang-golang-x-image')
-source=("$pkgname-$_commit.tar.gz::https://github.com/jung-kurt/gofpdf/archive/$_commit.tar.gz")
-sha512sums=('7be5d1e9e1b4b879d96b54cbf03d7515b92eb4f323ea5fbdf2d87de7c5628c9a7a33d5dda1d5808ab9cbec1e70b90e94b8e2819d11077044a6d0ddb56c33ab6b')
-
-check() {
- export GOPATH="$srcdir/build:/usr/share/gocode"
- mkdir -p "$srcdir"/build/src/github.com/jung-kurt
- cp -a "$srcdir"/gofpdf-$_commit "$srcdir"/build/src/github.com/jung-kurt/gofpdf
- cd "$srcdir"/build/src/github.com/jung-kurt/gofpdf
- go test -v $(go list ./... | grep -v vendor)
-}
-
-package() {
- mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/jung-kurt
- cp -a "$srcdir"/gofpdf-$_commit "$pkgdir"/usr/share/gocode/src/github.com/jung-kurt/gofpdf
-
- install -Dm644 gofpdf-$_commit/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: golang-github-jung-kurt-gofpdf/repos/community-any/PKGBUILD (from rev 447477, golang-github-jung-kurt-gofpdf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-04-02 09:37:22 UTC (rev 447478)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-github-jung-kurt-gofpdf
+pkgver=2.1.4
+pkgrel=1
+pkgdesc='A PDF document generator with high level support for text, drawing and images'
+arch=('any')
+url="https://github.com/jung-kurt/gofpdf"
+license=('MIT')
+depends=('go-pie' 'golang-github-boombuler-barcode' 'golang-github-ruudk-golang-pdf417'
+ 'golang-golang-x-image')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jung-kurt/gofpdf/archive/v$pkgver.tar.gz")
+sha512sums=('614267b0aa612e2a36895fc6b5e2c36cf278d5f5e28ec29878824295984972236c8e682db236da729a85f458186a9645a9c4395980f754f7a05047f4cf84f3c6')
+
+check() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p "$srcdir"/build/src/github.com/jung-kurt
+ cp -a "$srcdir"/gofpdf-$pkgver "$srcdir"/build/src/github.com/jung-kurt/gofpdf
+ cd "$srcdir"/build/src/github.com/jung-kurt/gofpdf
+ go test -v $(go list ./...)
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/gocode/src/github.com/jung-kurt
+ cp -a "$srcdir"/gofpdf-$pkgver "$pkgdir"/usr/share/gocode/src/github.com/jung-kurt/gofpdf
+
+ install -Dm644 gofpdf-$pkgver/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list