[arch-commits] Commit in deepin-desktop-schemas/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Aug 17 10:15:14 UTC 2021
Date: Tuesday, August 17, 2021 @ 10:15:13
Author: felixonmars
Revision: 1001286
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 1001285, deepin-desktop-schemas/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: deepin-desktop-schemas/repos/community-testing-any/PKGBUILD (from rev 1001285, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-08-17 10:15:13 UTC (rev 1001286)
@@ -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.18
+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=('3e8360a95210847ee4c5643107c8175b4630408218bd5d15e62135f5b3562a2fec046393ba6b63c96ce0e7882d7c64d80896130382f60123a97a785fdbece50b')
+
+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