[arch-commits] Commit in startdde/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Sep 3 20:54:51 UTC 2020
Date: Thursday, September 3, 2020 @ 20:54:51
Author: felixonmars
Revision: 697667
archrelease: copy trunk to community-x86_64
Added:
startdde/repos/community-x86_64/PKGBUILD
(from rev 697665, startdde/trunk/PKGBUILD)
Deleted:
startdde/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 108 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 54 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-03 20:54:50 UTC (rev 697666)
+++ PKGBUILD 2020-09-03 20:54:51 UTC (rev 697667)
@@ -1,54 +0,0 @@
-# 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.5.0.19
-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-session-shell' 'deepin-session-ui' 'libgnome-keyring')
-makedepends=('cmake' 'coffeescript' 'golang-github-linuxdeepin-go-dbus-factory' 'golang-deepin-gir'
- 'golang-deepin-lib' 'golang-deepin-dde-api' 'go' 'git' 'jq'
- 'golang-golang-x-net' 'golang-github-linuxdeepin-go-x11-client')
-optdepends=('deepin-wm: Legacy 3D window manager'
- 'deepin-metacity: Legacy 2D window manager'
- 'deepin-kwin: Preferred window manager')
-replaces=('deepin-wm-switcher')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/startdde/archive/$pkgver.tar.gz")
-sha512sums=('38d18e46102c1e328cd7a22adf17d1899f68f84db27f5ca863337fc25ce82e64b59f6944859d1f6e8fb10e106db1bccbf0b9c101f8af714faf9e4c3eb1194aea')
-
-prepare() {
- export GOPATH="$srcdir/build:/usr/share/gocode"
- go get github.com/cryptix/wav golang.org/x/xerrors github.com/godbus/dbus github.com/fsnotify/fsnotify
-
- sed -i 's/sbin/bin/' startdde-$pkgver/Makefile
-}
-
-build() {
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export CGO_LDFLAGS="${LDFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
-
- 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
-}
Copied: startdde/repos/community-x86_64/PKGBUILD (from rev 697665, startdde/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-09-03 20:54:51 UTC (rev 697667)
@@ -0,0 +1,54 @@
+# 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.5.0.20
+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-session-shell' 'deepin-session-ui' 'libgnome-keyring')
+makedepends=('cmake' 'coffeescript' 'golang-github-linuxdeepin-go-dbus-factory' 'golang-deepin-gir'
+ 'golang-deepin-lib' 'golang-deepin-dde-api' 'go' 'git' 'jq'
+ 'golang-golang-x-net' 'golang-github-linuxdeepin-go-x11-client')
+optdepends=('deepin-wm: Legacy 3D window manager'
+ 'deepin-metacity: Legacy 2D window manager'
+ 'deepin-kwin: Preferred window manager')
+replaces=('deepin-wm-switcher')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/startdde/archive/$pkgver.tar.gz")
+sha512sums=('dda58598830a2d2a390c54009b49a57fa4150b0aa9ff3264cf9dcdd3e3224f4624b491bcd94cb5df2f147d897c57446c97c3cb0a991d3138d9a50da89ed9caae')
+
+prepare() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ go get github.com/cryptix/wav golang.org/x/xerrors github.com/godbus/dbus github.com/fsnotify/fsnotify
+
+ sed -i 's/sbin/bin/' startdde-$pkgver/Makefile
+}
+
+build() {
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+
+ 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