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

Felix Yan felixonmars at archlinux.org
Fri Sep 4 09:12:35 UTC 2020


    Date: Friday, September 4, 2020 @ 09:12:35
  Author: felixonmars
Revision: 698463

archrelease: copy trunk to community-any

Added:
  golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
    (from rev 698462, 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-04 09:12:21 UTC (rev 698462)
+++ PKGBUILD	2020-09-04 09:12:35 UTC (rev 698463)
@@ -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.15
-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=('8a2657e42d507960ab0932302eec5c1509ba4a59cc6e56dae29e0b7c64dea443db2ada071e36ff9f55f01045d43bb80a17c722a3127eaf038998c87c1b8f8097')
-
-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 698462, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-04 09:12:35 UTC (rev 698463)
@@ -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.18
+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=('ed715ddab592e56707bc8ffd69c828482147d01a1a45efd0f8fc28d27cacdde6f00793ea44d8502cd6e7f750651d088e8e408a7d6876d164d776a09252c2b7d6')
+
+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