[arch-commits] Commit in startdde/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Apr 30 08:30:00 UTC 2020


    Date: Thursday, April 30, 2020 @ 08:29:59
  Author: felixonmars
Revision: 622420

archrelease: copy trunk to community-staging-x86_64

Added:
  startdde/repos/community-staging-x86_64/
  startdde/repos/community-staging-x86_64/PKGBUILD
    (from rev 622419, startdde/trunk/PKGBUILD)

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

Copied: startdde/repos/community-staging-x86_64/PKGBUILD (from rev 622419, startdde/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-04-30 08:29:59 UTC (rev 622420)
@@ -0,0 +1,45 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=startdde
+pkgver=5.3.0.1
+pkgrel=1
+pkgdesc="starter of deepin desktop environment"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/startdde"
+license=('GPL3')
+depends=('deepin-daemon' 'deepin-dock' 'deepin-polkit-agent' 'deepin-file-manager' 'deepin-wm'
+         'deepin-metacity' 'libgnome-keyring')
+makedepends=('cmake' 'coffeescript' 'golang-github-linuxdeepin-go-dbus-factory' 'golang-deepin-gir'
+             'golang-deepin-lib' 'golang-deepin-dde-api' 'go-pie' 'git' 'jq'
+             'golang-golang-x-net' 'golang-github-linuxdeepin-go-x11-client')
+replaces=('deepin-wm-switcher')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/startdde/archive/$pkgver.tar.gz")
+sha512sums=('1ab85659ef2b1a17eac1268dcdca109e358417552ffd20d96895b21e26a000c011fb82e757d3e1b6f84aeda085413a5a5478c9846d0f3f4650ff6a86698e8d4a')
+
+prepare() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  go get github.com/cryptix/wav golang.org/x/xerrors
+
+  sed -i 's/sbin/bin/' startdde-$pkgver/Makefile
+}
+
+build() {
+  cd startdde-$pkgver
+  make
+}
+
+package() {
+  cd startdde-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # Fix env file permission
+  chmod +x "$pkgdir"/etc/X11/Xsession.d/*
+
+  # Don't rely on deepin-session's location
+  install -dm755 "$pkgdir"/etc/X11/xinit/xinitrc.d
+  mv "$pkgdir"/etc/X11/Xsession.d/* "$pkgdir"/etc/X11/xinit/xinitrc.d/
+  rmdir "$pkgdir"/etc/X11/Xsession.d
+}



More information about the arch-commits mailing list