[arch-commits] Commit in deepin-desktop-schemas/repos/community-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Sep 4 20:31:03 UTC 2022
Date: Sunday, September 4, 2022 @ 20:31:02
Author: felixonmars
Revision: 1292905
archrelease: copy trunk to community-any
Added:
deepin-desktop-schemas/repos/community-any/PKGBUILD
(from rev 1292904, deepin-desktop-schemas/trunk/PKGBUILD)
Deleted:
deepin-desktop-schemas/repos/community-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-04 20:30:40 UTC (rev 1292904)
+++ PKGBUILD 2022-09-04 20:31:02 UTC (rev 1292905)
@@ -1,50 +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.10.6
-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")
-sha512sums=('39566ffb88cfa02f39ddfa0b253e4029666767fce1b597091831e97ff1f96965e409e44e6887054dbc1a5a444bef76ea4af67b1e2726af3a5a4284a495a0fc96')
-
-prepare() {
- export GOPATH="$srcdir/build:/usr/share/gocode"
- cd deepin-desktop-schemas-$pkgver
- # 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#'http://detect.uniontech.com', 'http://detectportal.deepin.com'#'http://ping.archlinux.org/nm-check.txt'#" schemas/com.deepin.dde.network-utils.gschema.xml
- grep uniontech schemas/com.deepin.dde.network-utils.gschema.xml && exit 1 || :
-}
-
-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 1292904, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-04 20:31:02 UTC (rev 1292905)
@@ -0,0 +1,50 @@
+# 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.10.11
+pkgrel=1
+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")
+sha512sums=('022ac32130c2c55e9f8208185d8e93dccb9c374c0668ce3983293c61b181a9445e0f5024c8428df1ce068b190b942da22ae8020ed671d9167d6901659e0e121f')
+
+prepare() {
+ export GOPATH="$srcdir/build:/usr/share/gocode"
+ cd deepin-desktop-schemas-$pkgver
+ # 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#'http://detect.uniontech.com', 'http://detectportal.deepin.com'#'http://ping.archlinux.org/nm-check.txt'#" schemas/com.deepin.dde.network-utils.gschema.xml
+ grep uniontech schemas/com.deepin.dde.network-utils.gschema.xml && exit 1 || :
+}
+
+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