Date: Wednesday, March 7, 2018 @ 07:08:44
  Author: felixonmars
Revision: 303473

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-api/repos/community-testing-x86_64/
  deepin-api/repos/community-testing-x86_64/PKGBUILD
    (from rev 303472, deepin-api/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: deepin-api/repos/community-testing-x86_64/PKGBUILD (from rev 303472, 
deepin-api/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-03-07 07:08:44 UTC (rev 303473)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-api
+pkgver=3.1.21
+pkgrel=1
+pkgdesc='Go-lang bindings for dde-daemon'
+arch=('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-gettext-tools' 'deepin-dbus-factory' 
'deepin-gir-generator'
+             'deepin-go-lib' 'bzr' 'go-pie') # '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=('8d07197a7296cf7e9b7403180d329e26d52be50ace27607da7eea4910603f307ddacb85d0d415c39efa4d5bf595332b29406744aa14ff31df6f71e13152b659c')
+
+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 github.com/nfnt/resize 
github.com/cryptix/wav
+}
+
+build(){
+  cd dde-api-$pkgver
+  make # USE_GCCGO=1
+}
+
+package() {
+  cd dde-api-$pkgver
+  make DESTDIR="$pkgdir" SYSTEMD_LIB_DIR=/usr/lib install
+}

Reply via email to