[arch-commits] Commit in golang-github-linuxdeepin-go-dbus-factory/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 29 22:40:20 UTC 2020
Date: Sunday, November 29, 2020 @ 22:40:20
Author: felixonmars
Revision: 766469
archrelease: copy trunk to community-any
Added:
golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
(from rev 766459, 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-29 22:40:19 UTC (rev 766468)
+++ PKGBUILD 2020-11-29 22:40:20 UTC (rev 766469)
@@ -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.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/
-}
Copied: golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD (from rev 766459, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-29 22:40:20 UTC (rev 766469)
@@ -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.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/
+}
More information about the arch-commits
mailing list