[arch-commits] Commit in deepin-desktop-schemas/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Jun 27 05:14:07 UTC 2017


    Date: Tuesday, June 27, 2017 @ 05:14:07
  Author: felixonmars
Revision: 241079

upgpkg: deepin-desktop-schemas 3.1.8-1

Modified:
  deepin-desktop-schemas/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-27 05:13:45 UTC (rev 241078)
+++ PKGBUILD	2017-06-27 05:14:07 UTC (rev 241079)
@@ -4,24 +4,23 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=deepin-desktop-schemas
-pkgver=3.1.7
-pkgrel=2
+pkgver=3.1.8
+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-sound-theme' 'deepin-artwork-themes')
+makedepends=('python')
 replaces=('deepin-default-gsettings')
 groups=('deepin')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-desktop-schemas/archive/$pkgver.tar.gz")
-sha512sums=('a765e5a284949913c5aaa42540a3eabb978b4b750133ffb0d921a89ecc08358da814b75f02ea98d0977c7bd06a2be9c0c6f0bf8db931aab75ae3c030917d1ab6')
+sha512sums=('64fb8447499c86ed9e6a36b6e113e55e8c41638da8ed00c42feafed87d8bad953aeefbc6f177983a470e06b88b349cd2a0e4de2061dfe6ef4957911995df7b75')
 
 prepare() {
   cd deepin-desktop-schemas-$pkgver
   # fix default background url
-  sed -i "s#^picture-uri.*#picture-uri='file:///usr/share/backgrounds/deepin/desktop.jpg'#" overrides/x86/com.deepin.wrap.gnome.desktop.override
-  # don't override GNOME defaults
-  rm overrides/x86/{org.gnome.desktop,other}.override
+  sed -i "s#^picture-uri.*#picture-uri='file:///usr/share/backgrounds/deepin/desktop.jpg'#" overrides/common/com.deepin.wrap.gnome.desktop.override
 }
 
 build() {
@@ -29,6 +28,11 @@
   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