[arch-commits] Commit in golang-deepin-lib/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Feb 25 11:22:58 UTC 2019
Date: Monday, February 25, 2019 @ 11:22:57
Author: felixonmars
Revision: 435710
upgpkg: golang-deepin-lib 1.9.1-1
Modified:
golang-deepin-lib/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-25 11:21:40 UTC (rev 435709)
+++ PKGBUILD 2019-02-25 11:22:57 UTC (rev 435710)
@@ -1,8 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=golang-deepin-lib
-pkgver=1.9.0
-_commit=22913e13bc9a61441e087df2642b297207190394
+pkgver=1.9.1
pkgrel=1
pkgdesc='A library containing many useful go routines for things such as glib, gettext, archive, graphic,etc.'
arch=('any')
@@ -12,13 +11,13 @@
replaces=('deepin-go-lib')
conflicts=('deepin-go-lib')
provides=('deepin-go-lib')
-source=("$pkgname-$_commit.tar.gz::https://github.com/linuxdeepin/go-lib/archive/$_commit.tar.gz")
-sha512sums=('78453f036bd1e5654ca6fa6b1622943469bc2f238c800531d5c103b992a95887a8feaba74f6a770810ac93470bc848e09a7851fd532eb00448cebf0f6a38f829')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-lib/archive/$pkgver.tar.gz")
+sha512sums=('0e28fbd95d0bbe23cc4199434bdb281d5864607c142f7a828e5eaef2055017bf96af8a48726ecbd54955ac4990004f6456315d0db989409f655c44e3dd8c6969')
check() {
export GOPATH="$srcdir/build:/usr/share/gocode"
mkdir -p "$srcdir"/build/src/pkg.deepin.io
- cp -a "$srcdir"/go-lib-$_commit "$srcdir"/build/src/pkg.deepin.io/lib
+ cp -a "$srcdir"/go-lib-$pkgver "$srcdir"/build/src/pkg.deepin.io/lib
cd "$srcdir"/build/src/pkg.deepin.io/lib
# TODO
# go test -v $(go list ./...)
@@ -26,7 +25,7 @@
package() {
mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
- cp -a "$srcdir"/go-lib-$_commit "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib
+ cp -a "$srcdir"/go-lib-$pkgver "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib
rm -r "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib/debian
}
More information about the arch-commits
mailing list