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

Felix Yan felixonmars at archlinux.org
Fri Mar 15 15:59:59 UTC 2019


    Date: Friday, March 15, 2019 @ 15:59:58
  Author: felixonmars
Revision: 441920

archrelease: copy trunk to community-testing-x86_64

Added:
  startdde/repos/community-testing-x86_64/
  startdde/repos/community-testing-x86_64/PKGBUILD
    (from rev 441919, startdde/trunk/PKGBUILD)

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

Copied: startdde/repos/community-testing-x86_64/PKGBUILD (from rev 441919, startdde/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-03-15 15:59:58 UTC (rev 441920)
@@ -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=3.13.0
+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' 'python2' '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=('cee594102c32d9fedaf23f0244be65744fd6d73639cee1ee95ce0aca989266d9e355c41e4becfa09fd6df93e3b2613a338e96a3697ae5d5f8faef07113c9d928')
+
+prepare() {
+  export GOPATH="$srcdir/build:/usr/share/gocode"
+  go get 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
+
+  # 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