[arch-commits] Commit in golang-github-linuxdeepin-go-dbus-factory/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Dec 3 21:00:57 UTC 2020
Date: Thursday, December 3, 2020 @ 21:00:56
Author: felixonmars
Revision: 769800
archrelease: copy trunk to community-any
Added:
golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
(from rev 769799, 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-03 21:00:45 UTC (rev 769799)
+++ PKGBUILD 2020-12-03 21:00:56 UTC (rev 769800)
@@ -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.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/
-}
Copied: golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD (from rev 769799, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-03 21:00:56 UTC (rev 769800)
@@ -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.27
+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=('a041f0cd3fa3e83004ffbc9fdabaac8b374e09f896a8749da906c3e10f6d78fcf64f0501498123ba5b7fdb6a3f05f77f20ceaca481488bc28d3191c031e56424')
+
+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