[arch-commits] Commit in deepin-desktop-schemas/repos (3 files)

Felix Yan fyan at archlinux.org
Tue Dec 29 06:49:14 UTC 2015


    Date: Tuesday, December 29, 2015 @ 07:49:14
  Author: fyan
Revision: 154864

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

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

Copied: deepin-desktop-schemas/repos/community-staging-any/PKGBUILD (from rev 154863, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-12-29 06:49:14 UTC (rev 154864)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-desktop-schemas
+pkgver=3.0.0
+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://cr.deepin.io/deepin-desktop-schemas.git#tag=$pkgver")
+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-staging-any/deepin-desktop-schemas.install (from rev 154863, 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-29 06:49:14 UTC (rev 154864)
@@ -0,0 +1,11 @@
+post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list