Date: Thursday, July 23, 2020 @ 07:08:47 Author: felixonmars Revision: 664979
archrelease: copy trunk to community-any Added: deepin-desktop-schemas/repos/community-any/PKGBUILD (from rev 664978, deepin-desktop-schemas/trunk/PKGBUILD) Deleted: deepin-desktop-schemas/repos/community-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-23 07:08:31 UTC (rev 664978) +++ PKGBUILD 2020-07-23 07:08:47 UTC (rev 664979) @@ -1,50 +0,0 @@ -# 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.13 -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=('6828c1d257d384533610a84d607677a14123f654e0645f598879a1967fe5def6c8fef79f6b3cc53cf05e22cbb15f55342b574528150e40f3f36dd3048424547a' - '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 -} Copied: deepin-desktop-schemas/repos/community-any/PKGBUILD (from rev 664978, deepin-desktop-schemas/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-23 07:08:47 UTC (rev 664979) @@ -0,0 +1,50 @@ +# 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.14 +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=('2c4e9dfad2fd5fc22b3a64e44dec4778f92bb3fb08f74df10962f42a6e00f1d9deb6d23979e83f84910f264465480b0cc343f58af715bd4e88ec8e2d0dbcdd7c' + '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 +}