Date: Wednesday, March 7, 2018 @ 07:40:43 Author: felixonmars Revision: 303495
archrelease: copy trunk to community-testing-x86_64 Added: startdde/repos/community-testing-x86_64/ startdde/repos/community-testing-x86_64/PKGBUILD (from rev 303494, startdde/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: startdde/repos/community-testing-x86_64/PKGBUILD (from rev 303494, startdde/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2018-03-07 07:40:43 UTC (rev 303495) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=startdde +pkgver=3.1.25 +pkgrel=1 +pkgdesc="starter of deepin desktop environment" +arch=('x86_64') +url="https://github.com/linuxdeepin/startdde" +license=('GPL3') +depends=('deepin-daemon' 'deepin-wm-switcher' 'libgnome-keyring') +makedepends=('cmake' 'coffeescript' 'deepin-dbus-factory' 'deepin-gir-generator' 'deepin-go-lib' + 'deepin-api' 'go-pie' 'python2' 'git') +groups=('deepin') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/startdde/archive/$pkgver.tar.gz") +sha512sums=('bf013362100ed6bedd7b860bb38d67250bc3416f842607b018e5082a3e8fa88367ff873ee2f1538aacb125fc8e304051f7b457ee16a6023fecf3810ace61d69f') + +prepare() { + export GOPATH="$srcdir/build:/usr/share/gocode" + go get github.com/BurntSushi/xgb github.com/BurntSushi/xgbutil github.com/howeyc/fsnotify \ + github.com/cryptix/wav + + sed -i 's/sbin/bin/' startdde-$pkgver/Makefile +} + +build() { + cd startdde-$pkgver + make +} + +package() { + cd startdde-$pkgver + make DESTDIR="$pkgdir" install +}