[arch-commits] Commit in golang-github-linuxdeepin-go-dbus-factory/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Tue Sep 8 15:28:25 UTC 2020


    Date: Tuesday, September 8, 2020 @ 15:28:25
  Author: felixonmars
Revision: 701250

archrelease: copy trunk to community-any

Added:
  golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
    (from rev 701249, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
Deleted:
  golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-08 15:28:17 UTC (rev 701249)
+++ PKGBUILD	2020-09-08 15:28:25 UTC (rev 701250)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
-
-pkgname=golang-github-linuxdeepin-go-dbus-factory
-pkgver=1.8.0.20
-pkgrel=1
-pkgdesc='GO DBus factory for DDE'
-arch=('any')
-url="https://github.com/linuxdeepin/go-dbus-factory"
-license=('GPL3')
-depends=('golang-deepin-lib')
-makedepends=('go' 'git')
-provides=('deepin-go-dbus-factory')
-conflicts=('deepin-go-dbus-factory')
-replaces=('deepin-go-dbus-factory')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-dbus-factory/archive/$pkgver.tar.gz")
-sha512sums=('c26f233a5eb48c889cf483c788bf2c06e7fdab91e6bd628ded85ef6b5c609706167469b837aa808a712c21781b3bccfef152791b224f95ac756682010b72809a')
-
-prepare() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  mkdir -p "$srcdir"/build/src/github.com/linuxdeepin
-  cp -a "$srcdir"/go-dbus-factory-$pkgver "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
-
-  go get github.com/godbus/dbus github.com/fsnotify/fsnotify
-}
-
-build() {
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
-  cd "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
-  make bin
-
-  # Suggested by upstream: don't run
-  # ./gen.sh
-}
-
-check() {
-  export GOPATH="$srcdir/build:/usr/share/gocode"
-  cd "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
-  go test -v $(go list ./...)
-}
-
-package() {
-  cd "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
-  install -dm755 "$pkgdir"/usr/share/gocode/src/github.com/linuxdeepin/go-dbus-factory
-  cp -a com.* org.* net.* object_manager "$pkgdir"/usr/share/gocode/src/github.com/linuxdeepin/go-dbus-factory/
-}

Copied: golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD (from rev 701249, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-08 15:28:25 UTC (rev 701250)
@@ -0,0 +1,52 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=golang-github-linuxdeepin-go-dbus-factory
+pkgver=1.8.0.21
+pkgrel=1
+pkgdesc='GO DBus factory for DDE'
+arch=('any')
+url="https://github.com/linuxdeepin/go-dbus-factory"
+license=('GPL3')
+depends=('golang-deepin-lib')
+makedepends=('go' 'git')
+provides=('deepin-go-dbus-factory')
+conflicts=('deepin-go-dbus-factory')
+replaces=('deepin-go-dbus-factory')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/go-dbus-factory/archive/$pkgver.tar.gz")
+sha512sums=('955b0b6e5faa63afdd7eccfb6a050240df9849e450098e6ab20ec7c3cc20c341e712975996abfac3a04f25e9a7b7a7cf45b3fac1f2710176dae9c46d67ab5c62')
+
+prepare() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  mkdir -p "$srcdir"/build/src/github.com/linuxdeepin
+  cp -a "$srcdir"/go-dbus-factory-$pkgver "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
+
+  go get github.com/godbus/dbus github.com/fsnotify/fsnotify
+}
+
+build() {
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export CGO_LDFLAGS="${LDFLAGS}"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+  cd "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
+  make bin
+
+  # Suggested by upstream: don't run
+  # ./gen.sh
+}
+
+check() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  cd "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
+  go test -v $(go list ./...)
+}
+
+package() {
+  cd "$srcdir"/build/src/github.com/linuxdeepin/go-dbus-factory
+  install -dm755 "$pkgdir"/usr/share/gocode/src/github.com/linuxdeepin/go-dbus-factory
+  cp -a com.* org.* net.* object_manager "$pkgdir"/usr/share/gocode/src/github.com/linuxdeepin/go-dbus-factory/
+}


More information about the arch-commits mailing list