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

Felix Yan felixonmars at archlinux.org
Wed Dec 2 21:28:42 UTC 2020


    Date: Wednesday, December 2, 2020 @ 21:28:41
  Author: felixonmars
Revision: 769349

archrelease: copy trunk to community-any

Added:
  golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
    (from rev 769348, 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-12-02 21:28:31 UTC (rev 769348)
+++ PKGBUILD	2020-12-02 21:28:41 UTC (rev 769349)
@@ -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.25
-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=('bbba92492d3260a1bcb19908dd684775f2916a3b8ce11e93bb9587574529855a225f39e8a6d0de8e010aff5381bb529d0f792493c1ee34b4af5cb8ef0879c504')
-
-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 769348, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-02 21:28:41 UTC (rev 769349)
@@ -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.26
+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=('f57eeb1d969fd9a73a4905d931d81729542b694f660ee9490ef84a740266d4026790ff4f0e936d13d97d5087f7d0299584c73db8951c7c6163a3c4648907bc06')
+
+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