Date: Thursday, December 3, 2015 @ 07:06:53
  Author: fyan
Revision: 148169

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

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

Copied: deepin-desktop-schemas/repos/community-staging-any/PKGBUILD (from rev 
148167, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2015-12-03 06:06:53 UTC (rev 148169)
@@ -0,0 +1,39 @@
+# $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.1.20151201
+_commit=ef7bafdb256b170bfb8b5af73d8d499e8aa68723
+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
+  # Removing google-chrome and deepin-appstore, they are not packaged in our 
repos.
+  sed -i 
"s/^docked-apps=.*/docked-apps=['org.gnome.nautilus','deepin-music-player','deepin-movie','dde-control-center']/"
 overrides/com.deepin.dde.dock.override
+}
+
+build() {
+  cd "${pkgname}"
+  make
+}
+
+package() {
+  cd "${pkgname}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: 
deepin-desktop-schemas/repos/community-staging-any/deepin-desktop-schemas.install
 (from rev 148168, deepin-desktop-schemas/trunk/deepin-desktop-schemas.install)
===================================================================
--- community-staging-any/deepin-desktop-schemas.install                        
        (rev 0)
+++ community-staging-any/deepin-desktop-schemas.install        2015-12-03 
06:06:53 UTC (rev 148169)
@@ -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