Date: Wednesday, June 3, 2020 @ 16:31:46 Author: felixonmars Revision: 638274
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 638273, deepin-desktop-schemas/trunk/PKGBUILD) ----------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) Copied: deepin-desktop-schemas/repos/community-testing-any/PKGBUILD (from rev 638273, deepin-desktop-schemas/trunk/PKGBUILD) =================================================================== --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-06-03 16:31:46 UTC (rev 638274) @@ -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.6.0.1 +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=('0b4b48aabda82c5625e18684fc79837c0fe55483ce6503ca7deef8ff08d81b3968ed03ba57061608bb1a1c206493df33ad67a89f4bdadb956ddeee5c5446fefe' + '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 +}