[arch-commits] Commit in deepin-api/repos (4 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Oct 4 20:25:53 UTC 2017
Date: Wednesday, October 4, 2017 @ 20:25:52
Author: foutrelis
Revision: 261582
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
deepin-api/repos/community-staging-i686/
deepin-api/repos/community-staging-i686/PKGBUILD
(from rev 261581, deepin-api/trunk/PKGBUILD)
deepin-api/repos/community-staging-x86_64/
deepin-api/repos/community-staging-x86_64/PKGBUILD
(from rev 261581, deepin-api/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++
2 files changed, 84 insertions(+)
Copied: deepin-api/repos/community-staging-i686/PKGBUILD (from rev 261581, deepin-api/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-10-04 20:25:52 UTC (rev 261582)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-api
+pkgver=3.1.13
+pkgrel=2
+pkgdesc='Go-lang bindings for dde-daemon'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/dde-api"
+license=('GPL3')
+depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill' 'poppler-glib' 'xcur2png' 'blur-effect') # 'gcc-libs>=5.3.0-3')
+makedepends=('git' 'deepin-dbus-factory' 'deepin-gir-generator' 'deepin-go-lib' 'bzr' 'go') # 'gcc-go')
+conflicts=('dde-api')
+replaces=('dde-api')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-api/archive/$pkgver.tar.gz")
+sha512sums=('596ef5a9e4f4a9dddbed8c6a426a5bfda06bdeb0895fd0c84fb0577e3232d18d81cab70e17d0515a847f1f284e2585f81490bea3706d0b98a25d9938582624ca')
+
+prepare() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p build/src/pkg.deepin.io/dde/api
+ cp -a dde-api-$pkgver/* build/src/pkg.deepin.io/dde/api/
+
+ # https://github.com/niemeyer/gopkg/issues/50
+ git config --global http.https://gopkg.in.followRedirects true
+
+ cd "$srcdir"/dde-api-$pkgver
+ make build-dep
+ go get gopkg.in/alecthomas/kingpin.v2
+}
+
+build(){
+ cd dde-api-$pkgver
+ make # USE_GCCGO=1
+}
+
+package() {
+ cd dde-api-$pkgver
+ make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
+}
Copied: deepin-api/repos/community-staging-x86_64/PKGBUILD (from rev 261581, deepin-api/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-10-04 20:25:52 UTC (rev 261582)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-api
+pkgver=3.1.13
+pkgrel=2
+pkgdesc='Go-lang bindings for dde-daemon'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/dde-api"
+license=('GPL3')
+depends=('glib2' 'gdk-pixbuf2' 'gtk3' 'libcanberra-pulse' 'libxi' 'libxfixes' 'rfkill' 'poppler-glib' 'xcur2png' 'blur-effect') # 'gcc-libs>=5.3.0-3')
+makedepends=('git' 'deepin-dbus-factory' 'deepin-gir-generator' 'deepin-go-lib' 'bzr' 'go') # 'gcc-go')
+conflicts=('dde-api')
+replaces=('dde-api')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-api/archive/$pkgver.tar.gz")
+sha512sums=('596ef5a9e4f4a9dddbed8c6a426a5bfda06bdeb0895fd0c84fb0577e3232d18d81cab70e17d0515a847f1f284e2585f81490bea3706d0b98a25d9938582624ca')
+
+prepare() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ mkdir -p build/src/pkg.deepin.io/dde/api
+ cp -a dde-api-$pkgver/* build/src/pkg.deepin.io/dde/api/
+
+ # https://github.com/niemeyer/gopkg/issues/50
+ git config --global http.https://gopkg.in.followRedirects true
+
+ cd "$srcdir"/dde-api-$pkgver
+ make build-dep
+ go get gopkg.in/alecthomas/kingpin.v2
+}
+
+build(){
+ cd dde-api-$pkgver
+ make # USE_GCCGO=1
+}
+
+package() {
+ cd dde-api-$pkgver
+ make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
+}
More information about the arch-commits
mailing list