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

Felix Yan felixonmars at archlinux.org
Mon Aug 10 10:05:53 UTC 2020


    Date: Monday, August 10, 2020 @ 10:05:52
  Author: felixonmars
Revision: 673519

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 673518, deepin-desktop-schemas/trunk/PKGBUILD)

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

Copied: deepin-desktop-schemas/repos/community-testing-any/PKGBUILD (from rev 673518, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2020-08-10 10:05:52 UTC (rev 673519)
@@ -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.8.0.4
+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"
+        https://github.com/linuxdeepin/deepin-desktop-schemas/commit/bf0c4e43f6b6d508ddd346c2d1e865dae9ae947d.patch)
+sha512sums=('e333f00fe0c2710093fd7a3ae3a6d3c7f7d4dd1b40a3d028180f8835c0863afb9e4886142b44f988e6bbe2753c3ff2a3060c0e316c8538a362d92e0d859431d7'
+            '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#^picture-uri.*#picture-uri='file:///usr/share/backgrounds/deepin/desktop.jpg'#" overrides/common/com.deepin.wrap.gnome.desktop.override
+}
+
+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