[arch-commits] Commit in startdde/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Nov 16 22:17:41 UTC 2020
Date: Monday, November 16, 2020 @ 22:17:40
Author: felixonmars
Revision: 755712
archrelease: copy trunk to community-x86_64
Added:
startdde/repos/community-x86_64/PKGBUILD
(from rev 755711, startdde/trunk/PKGBUILD)
Deleted:
startdde/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-16 22:17:24 UTC (rev 755711)
+++ PKGBUILD 2020-11-16 22:17:40 UTC (rev 755712)
@@ -1,57 +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.6.0.10
-pkgrel=2
-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"
- wmcmd-fix.patch::https://github.com/linuxdeepin/startdde/commit/352fa3595494ec69970fb0a02e4d6053ec6927cf.patch)
-sha512sums=('fdce5d97b2be9e307d1d46edb87aa0027af803e86a2f19ba4fdab90444d91f54531f078f74f26c0ab6dc256d7a374fa563fa28c28db7e91ce99ad78b9804cf72'
- '7aa0ee32be3276bd9cc4b1594221ca0217d2b78ffa948294d1e9d9049b965ec3bfe70a0bb799450dc342fe7cabc713f9bf2db3f4bb1207fdff6355d4eb6ecedd')
-
-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
- patch -d startdde-$pkgver -p1 < wmcmd-fix.patch
-}
-
-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 755711, startdde/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-16 22:17:40 UTC (rev 755712)
@@ -0,0 +1,57 @@
+# 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.6.0.12
+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"
+ wmcmd-fix.patch::https://github.com/linuxdeepin/startdde/commit/352fa3595494ec69970fb0a02e4d6053ec6927cf.patch)
+sha512sums=('0ce0da55ac6a148c40bca869a9c90a9566a4645c27e8abf7429970d840478dd9278c4835ad3665ce59fbb44321cb60d152df3da9ed8c9af6bb8338adcfdff5d0'
+ '7aa0ee32be3276bd9cc4b1594221ca0217d2b78ffa948294d1e9d9049b965ec3bfe70a0bb799450dc342fe7cabc713f9bf2db3f4bb1207fdff6355d4eb6ecedd')
+
+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
+ patch -d startdde-$pkgver -p1 < wmcmd-fix.patch
+}
+
+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