[arch-commits] Commit in golang-github-linuxdeepin-go-dbus-factory/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Jun 30 09:31:51 UTC 2020
Date: Tuesday, June 30, 2020 @ 09:31:51
Author: felixonmars
Revision: 657125
archrelease: copy trunk to community-any
Added:
golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
(from rev 657124, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
Deleted:
golang-github-linuxdeepin-go-dbus-factory/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-30 09:31:30 UTC (rev 657124)
+++ PKGBUILD 2020-06-30 09:31:51 UTC (rev 657125)
@@ -1,50 +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.7.0.4
-pkgrel=2
-pkgdesc='GO DBus factory for DDE'
-arch=('any')
-url="https://github.com/linuxdeepin/go-dbus-factory"
-license=('GPL3')
-depends=('golang-deepin-lib')
-makedepends=('go')
-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=('49d3bee1e4a025f7f6b205b14b58570077687a18e5b05a0674add710474653d42b53d4f4867f12eb6e0e338250a543afb5f8f5c6710a0b4a49aff945886f8e1f')
-
-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
-}
-
-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 657124, golang-github-linuxdeepin-go-dbus-factory/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-30 09:31:51 UTC (rev 657125)
@@ -0,0 +1,50 @@
+# 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.7.0.5
+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')
+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=('c88b920b90df12a30b5e5c175c4dc6e2047240a92c2b59bbf3441c25189d275db9601ba87e914f77339fc4f0dba2a67d4241caf59dcf9d6faf6e3bbc96d5cb62')
+
+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
+}
+
+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