[arch-commits] Commit in deepin-desktop-schemas/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon May 17 22:20:40 UTC 2021


    Date: Monday, May 17, 2021 @ 22:20:40
  Author: felixonmars
Revision: 936121

archrelease: copy trunk to community-testing-any

Added:
  deepin-desktop-schemas/repos/community-testing-any/
  deepin-desktop-schemas/repos/community-testing-any/PKGBUILD
    (from rev 936120, deepin-desktop-schemas/trunk/PKGBUILD)

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

Copied: deepin-desktop-schemas/repos/community-testing-any/PKGBUILD (from rev 936120, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-05-17 22:20:40 UTC (rev 936121)
@@ -0,0 +1,49 @@
+# 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.9.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=('d8ff88c198b147989b4c94d9575367abe6bd16af1d77e30f0e4d697d26dfc927bffc5a68d91a9fd4f9c5d497b480863a38bdfd6e70d5168ee85d90c7078c4e11')
+
+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#'https://www.chinauos.com', 'https://www.uniontech.com'#'https://archlinux.org/favicon.ico'#" 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
+}



More information about the arch-commits mailing list