[arch-commits] Commit in deepin-desktop-schemas/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Jun 30 02:03:48 UTC 2021
Date: Wednesday, June 30, 2021 @ 02:03:48
Author: felixonmars
Revision: 967896
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 967895, deepin-desktop-schemas/trunk/PKGBUILD)
----------+
PKGBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
Copied: deepin-desktop-schemas/repos/community-testing-any/PKGBUILD (from rev 967895, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-06-30 02:03:48 UTC (rev 967896)
@@ -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.16
+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=('7bf503e01b6f42ff2bd04e409c45b8e0179dd8218325a81cc7c500e559c82a805dcee92dd820045c4feccd0ab5df36143c7a8ec898b80d3e5840c45a5431d331')
+
+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