Date: Saturday, April 1, 2017 @ 09:35:42
  Author: felixonmars
Revision: 220275

upgpkg: deepin-go-lib 1.0.1-1

Modified:
  deepin-go-lib/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-04-01 09:25:38 UTC (rev 220274)
+++ PKGBUILD    2017-04-01 09:35:42 UTC (rev 220275)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=deepin-go-lib
-pkgver=0.5.6
+pkgver=1.0.1
 pkgrel=1
 pkgdesc='A library containing many useful go routines for things such as glib, 
gettext, archive, graphic,etc.'
 arch=('any')
@@ -9,17 +9,12 @@
 url="https://github.com/linuxdeepin/go-lib";
 license=('GPL3')
 depends=('libpulse' 'gdk-pixbuf2' 'mobile-broadband-provider-info' 'libx11')
-makedepends=('git')
-source=("git+https://cr.deepin.io/go-lib.git#tag=$pkgver";)
-md5sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-lib/archive/$pkgver.tar.gz";)
+sha512sums=('50af960be2e3312b39df6a8c73e403ad9bfc274068f2b73fb1a5a52b8b4b32ba307fbab2884160843838ffc4116697bb65b667efb3d3a2d9208c9b11a90554a4')
 
-prepare() {
-  rm -r go-lib/.git
-}
-
 package() {
   mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
-  cp -a go-lib "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib
+  cp -a go-lib-$pkgver "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib
 
   rm -r "$pkgdir"/usr/share/gocode/src/pkg.deepin.io/lib/debian
 }

Reply via email to