[arch-commits] Commit in deepin-desktop-schemas/repos (3 files)
Felix Yan
fyan at archlinux.org
Tue Dec 8 06:08:18 UTC 2015
Date: Tuesday, December 8, 2015 @ 07:08:18
Author: fyan
Revision: 150170
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 150169, deepin-desktop-schemas/trunk/PKGBUILD)
deepin-desktop-schemas/repos/community-staging-any/deepin-desktop-schemas.install
(from rev 150169, 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 150169, deepin-desktop-schemas/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2015-12-08 06:08:18 UTC (rev 150170)
@@ -0,0 +1,39 @@
+# $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=2.91.1.20151204
+_commit=45c99367a2fa3c1f717585a4b79988501291e5cc
+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 150169, 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-08 06:08:18 UTC (rev 150170)
@@ -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