Date: Thursday, December 17, 2015 @ 07:23:46
  Author: fyan
Revision: 153509

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 153508, deepin-desktop-schemas/trunk/PKGBUILD)
  
deepin-desktop-schemas/repos/community-testing-any/deepin-desktop-schemas.install
    (from rev 153508, 
deepin-desktop-schemas/trunk/deepin-desktop-schemas.install)

--------------------------------+
 PKGBUILD                       |   37 +++++++++++++++++++++++++++++++++++++
 deepin-desktop-schemas.install |   11 +++++++++++
 2 files changed, 48 insertions(+)

Copied: deepin-desktop-schemas/repos/community-testing-any/PKGBUILD (from rev 
153508, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2015-12-17 06:23:46 UTC (rev 153509)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-desktop-schemas
+pkgver=2.91.2.20151217
+_commit=ddcb2b7ad73ca32cd9f799740b94167d46144584
+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=('git')
+conflicts=('dde-daemon<=2.92.1')
+replaces=('deepin-default-gsettings')
+groups=('deepin')
+install="${pkgname}.install"
+source=("git+https://github.com/linuxdeepin/deepin-desktop-schemas.git#commit=$_commit";)
+sha256sums=('SKIP')
+
+prepare() {
+  cd "${pkgname}"
+  # fix default background url
+  sed -i 
"s#^picture-uri.*#picture-uri='file:///usr/share/backgrounds/deepin_default_background.jpg'#"
 overrides/com.deepin.wrap.gnome.desktop.override
+}
+
+build() {
+  cd "${pkgname}"
+  make
+}
+
+package() {
+  cd "${pkgname}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: 
deepin-desktop-schemas/repos/community-testing-any/deepin-desktop-schemas.install
 (from rev 153508, deepin-desktop-schemas/trunk/deepin-desktop-schemas.install)
===================================================================
--- community-testing-any/deepin-desktop-schemas.install                        
        (rev 0)
+++ community-testing-any/deepin-desktop-schemas.install        2015-12-17 
06:23:46 UTC (rev 153509)
@@ -0,0 +1,11 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}

Reply via email to