[arch-commits] Commit in golang-deepin-lib/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 26 16:14:18 UTC 2020
Date: Thursday, November 26, 2020 @ 16:14:17
Author: felixonmars
Revision: 763605
archrelease: copy trunk to community-any
Added:
golang-deepin-lib/repos/community-any/PKGBUILD
(from rev 763604, golang-deepin-lib/trunk/PKGBUILD)
Deleted:
golang-deepin-lib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-26 16:14:07 UTC (rev 763604)
+++ PKGBUILD 2020-11-26 16:14:17 UTC (rev 763605)
@@ -1,45 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=golang-deepin-lib
-pkgver=5.6.0.1
-pkgrel=1
-pkgdesc='A library containing many useful go routines for things such as glib, gettext, archive, graphic,etc.'
-arch=('any')
-url="https://github.com/linuxdeepin/go-lib"
-license=('GPL3')
-depends=('dbus' 'go' 'libpulse' 'gdk-pixbuf2' 'mobile-broadband-provider-info' 'libx11'
- 'golang-gopkg-alecthomas-kingpin.v2' 'golang-deepin-gir'
- 'golang-github-linuxdeepin-go-x11-client' 'golang-golang-x-net' 'golang-golang-x-image')
- # 'golang-github-cryptix-wav' not packaged yet, paused until our go packaging standards formed
-checkdepends=('iso-codes' 'golang-gopkg-check.v1' 'git') # git needed only for go get
-replaces=('deepin-go-lib')
-conflicts=('deepin-go-lib')
-provides=('deepin-go-lib')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-lib/archive/$pkgver.tar.gz")
-sha512sums=('b58ae8b399a6f2fe89e6a298f3382bb5d92ef9c113a79a7bc20d6837b38704bddc2625f0527f72cb6f02dce956bd7f5a354252effd5c0e138b74e9075619605c')
-
-prepare() {
- cd go-lib-$pkgver
- sed -i 's/int connect_timeout;/extern int connect_timeout;/' pulse/dde-pulse.h
-}
-
-check() {
- export GOPATH="$srcdir/build:/usr/share/gocode"
- mkdir -p "$srcdir"/build/src/pkg.deepin.io
- cp -a "$srcdir"/go-lib-$pkgver "$srcdir"/build/src/pkg.deepin.io/lib
- cd "$srcdir"/build/src/pkg.deepin.io/lib
- # TODO: make packages for them
- go get github.com/cryptix/wav github.com/smartystreets/goconvey/convey github.com/mozillazg/go-pinyin gopkg.in/yaml.v3 github.com/godbus/dbus github.com/fsnotify/fsnotify
- # TODO: figure out why pulse tests hang
- # passwd: test needs to access /etc/passwd
- # group & timer & log & dbus: build failed
- # shell: TestEncode failed
- go test -v $(go list ./... | grep -v -e lib/pulse -e lib/users/passwd -e lib/users/group -e lib/timer -e lib/log -e lib/dbus -e lib/shell)
-}
-
-package() {
- mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
- 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
-}
Copied: golang-deepin-lib/repos/community-any/PKGBUILD (from rev 763604, golang-deepin-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-26 16:14:17 UTC (rev 763605)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=golang-deepin-lib
+pkgver=5.6.0.2
+pkgrel=1
+pkgdesc='A library containing many useful go routines for things such as glib, gettext, archive, graphic,etc.'
+arch=('any')
+url="https://github.com/linuxdeepin/go-lib"
+license=('GPL3')
+depends=('dbus' 'go' 'libpulse' 'gdk-pixbuf2' 'gdk-pixbuf-xlib' 'mobile-broadband-provider-info'
+ 'libx11' 'golang-gopkg-alecthomas-kingpin.v2' 'golang-deepin-gir'
+ 'golang-github-linuxdeepin-go-x11-client' 'golang-golang-x-net' 'golang-golang-x-image')
+ # 'golang-github-cryptix-wav' not packaged yet, paused until our go packaging standards formed
+checkdepends=('iso-codes' 'golang-gopkg-check.v1' 'git') # git needed only for go get
+replaces=('deepin-go-lib')
+conflicts=('deepin-go-lib')
+provides=('deepin-go-lib')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-lib/archive/$pkgver.tar.gz")
+sha512sums=('896459bd15ecc3e56be7c77585c2c30520083ba0a8ba752492d304647020200e2db3299d1ff49c52620b1aa221a90a38c81e493bd9956826fb3710fc8f793fe8')
+
+prepare() {
+ cd go-lib-$pkgver
+ sed -i 's/int connect_timeout;/extern int connect_timeout;/' pulse/dde-pulse.h
+}
+
+check() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p "$srcdir"/build/src/pkg.deepin.io
+ cp -a "$srcdir"/go-lib-$pkgver "$srcdir"/build/src/pkg.deepin.io/lib
+ cd "$srcdir"/build/src/pkg.deepin.io/lib
+ # TODO: make packages for them
+ go get github.com/cryptix/wav github.com/smartystreets/goconvey/convey github.com/mozillazg/go-pinyin gopkg.in/yaml.v3 github.com/godbus/dbus github.com/fsnotify/fsnotify
+ # TODO: figure out why pulse tests hang
+ # passwd: test needs to access /etc/passwd
+ # group & timer & log & dbus: build failed
+ # shell: TestEncode failed
+ go test -v $(go list ./... | grep -v -e lib/pulse -e lib/users/passwd -e lib/users/group -e lib/timer -e lib/log -e lib/dbus -e lib/shell)
+}
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/gocode/src/pkg.deepin.io
+ 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