Date: Friday, May 1, 2020 @ 16:58:06 Author: felixonmars Revision: 624073
archrelease: copy trunk to community-staging-any Added: deepin-desktop-schemas/repos/community-staging-any/ deepin-desktop-schemas/repos/community-staging-any/PKGBUILD (from rev 624072, deepin-desktop-schemas/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: deepin-desktop-schemas/repos/community-staging-any/PKGBUILD (from rev 624072, deepin-desktop-schemas/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2020-05-01 16:58:06 UTC (rev 624073) @@ -0,0 +1,44 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=deepin-desktop-schemas +pkgver=5.4.0099.0 +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-pie' '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=('45e5659a2333593bec07a8ff07f75e022fd0875648d3a4ec34e7f6264a656b42b4635255c4afeee4ddc848f0028af8078136ed61ad8196a6da8e43dfa3dbf775' + '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() { + 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 +}