[arch-commits] Commit in deepin-desktop-schemas/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Nov 8 11:10:36 UTC 2020
Date: Sunday, November 8, 2020 @ 11:10:36
Author: felixonmars
Revision: 746486
archrelease: copy trunk to community-any
Added:
deepin-desktop-schemas/repos/community-any/PKGBUILD
(from rev 746485, deepin-desktop-schemas/trunk/PKGBUILD)
Deleted:
deepin-desktop-schemas/repos/community-any/PKGBUILD
----------+
PKGBUILD | 108 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 55 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-08 11:10:22 UTC (rev 746485)
+++ PKGBUILD 2020-11-08 11:10:36 UTC (rev 746486)
@@ -1,53 +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=deepin-desktop-schemas
-pkgver=5.8.0.20
-pkgrel=2
-pkgdesc='GSettings deepin desktop-wide schemas'
-arch=('any')
-url="https://github.com/linuxdeepin/deepin-desktop-schemas"
-license=('GPL3')
-depends=('dconf' 'deepin-gtk-theme' 'deepin-icon-theme' 'deepin-sound-theme')
-makedepends=('python' 'go' 'golang-deepin-lib')
-conflicts=('deepin-artwork-themes')
-replaces=('deepin-artwork-themes')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-desktop-schemas/archive/$pkgver.tar.gz"
- https://github.com/linuxdeepin/deepin-desktop-schemas/commit/bf0c4e43f6b6d508ddd346c2d1e865dae9ae947d.patch)
-sha512sums=('aea6c96e33c6d50dd991c45d95edbd0bf2149afe491f366bef3ca82b8f28d36856688ca1f3ea656a68d07057913d8ce560315a5ca207d06f64047e8099c6937e'
- 'be13e501baf0517da19618011219b53d633a4186840b20b24d134e5d667c4ab1b6b716c09c78faf802b32ecf3f6f6e5e2f84744a5919b28645f002739d07ea82')
-
-prepare() {
- export GOPATH="$srcdir/build:/usr/share/gocode"
- cd deepin-desktop-schemas-$pkgver
- # disable swap-sched
- patch -Rp1 -i ../bf0c4e43f6b6d508ddd346c2d1e865dae9ae947d.patch
- # fix default background url
- sed -i "s#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#" \
- overrides/common/com.deepin.wrap.gnome.desktop.override schemas/com.deepin.dde.appearance.gschema.xml
- # fix network checker url
- sed -i "s#'https://www.chinauos.com', 'https://www.uniontech.com'#'https://www.archlinux.org'#" schemas/com.deepin.dde.network-utils.gschema.xml
-}
-
-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 deepin-desktop-schemas-$pkgver
- make ARCH=x86
-}
-
-check() {
- cd deepin-desktop-schemas-$pkgver
- make test
-}
-
-package() {
- cd deepin-desktop-schemas-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: deepin-desktop-schemas/repos/community-any/PKGBUILD (from rev 746485, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-08 11:10:36 UTC (rev 746486)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-desktop-schemas
+pkgver=5.8.0.20
+pkgrel=3
+pkgdesc='GSettings deepin desktop-wide schemas'
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-desktop-schemas"
+license=('GPL3')
+depends=('dconf' 'deepin-gtk-theme' 'deepin-icon-theme' 'deepin-sound-theme')
+makedepends=('python' 'go' 'golang-deepin-lib')
+conflicts=('deepin-artwork-themes')
+replaces=('deepin-artwork-themes')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-desktop-schemas/archive/$pkgver.tar.gz"
+ https://github.com/linuxdeepin/deepin-desktop-schemas/commit/bf0c4e43f6b6d508ddd346c2d1e865dae9ae947d.patch)
+sha512sums=('aea6c96e33c6d50dd991c45d95edbd0bf2149afe491f366bef3ca82b8f28d36856688ca1f3ea656a68d07057913d8ce560315a5ca207d06f64047e8099c6937e'
+ 'be13e501baf0517da19618011219b53d633a4186840b20b24d134e5d667c4ab1b6b716c09c78faf802b32ecf3f6f6e5e2f84744a5919b28645f002739d07ea82')
+
+prepare() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ cd deepin-desktop-schemas-$pkgver
+ # disable swap-sched
+ patch -Rp1 -i ../bf0c4e43f6b6d508ddd346c2d1e865dae9ae947d.patch
+ # fix default background url
+ sed -i "s#/usr/share/backgrounds/default_background.jpg#/usr/share/backgrounds/deepin/desktop.jpg#" \
+ overrides/common/com.deepin.wrap.gnome.desktop.override schemas/com.deepin.dde.appearance.gschema.xml
+ # fix network checker url
+ sed -i "s#'https://www.chinauos.com', 'https://www.uniontech.com'#'https://www.archlinux.org'#" schemas/com.deepin.dde.network-utils.gschema.xml
+ # fix for deepin-wm (their documentation is lying here)
+ sed -i "s|<default>''</default>|<default>'deepin-wm'</default>|" schemas/com.deepin.dde.startdde.gschema.xml
+}
+
+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 deepin-desktop-schemas-$pkgver
+ make ARCH=x86
+}
+
+check() {
+ cd deepin-desktop-schemas-$pkgver
+ make test
+}
+
+package() {
+ cd deepin-desktop-schemas-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list