[arch-commits] Commit in golang-github-linuxdeepin-go-dbus-factory/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 26 17:38:37 UTC 2020
Date: Thursday, November 26, 2020 @ 17:38:37
Author: felixonmars
Revision: 763691
archrelease: copy trunk to community-any
Added:
golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
(from rev 763690, 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-11-26 17:38:27 UTC (rev 763690)
+++ PKGBUILD 2020-11-26 17:38:37 UTC (rev 763691)
@@ -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.23
-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=('12cd0feb805a008ff226c8db7a8526e2ee06fe5d5d25132a53bcda2f9754cb64a0551a870988551303ab8d6d3e0825dd7c1cfb59bd3deadf7fc12eef20d712d3')
-
-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 763690, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-26 17:38:37 UTC (rev 763691)
@@ -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.24
+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=('554e6ec8b52b647fd1ed04f9d2e9469c475644c642e89dc640b45330b91340ed6c507ba33030e8f63f29abea068ba5ce9a54b9b77e21ae95ffdd2c2ada0e0ad6')
+
+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