[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Wed Dec 30 13:09:34 UTC 2015


    Date: Wednesday, December 30, 2015 @ 14:09:34
  Author: fyan
Revision: 155032

addpkg: deepin-desktop-base 2015.12.30-1

Added:
  deepin-desktop-base/
  deepin-desktop-base/repos/
  deepin-desktop-base/trunk/
  deepin-desktop-base/trunk/PKGBUILD

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Added: deepin-desktop-base/trunk/PKGBUILD
===================================================================
--- deepin-desktop-base/trunk/PKGBUILD	                        (rev 0)
+++ deepin-desktop-base/trunk/PKGBUILD	2015-12-30 13:09:34 UTC (rev 155032)
@@ -0,0 +1,35 @@
+# $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-base
+pkgver=2015.12.30
+pkgrel=1
+pkgdesc='Default wallpapers and other base component for Deepin'
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-desktop-base"
+license=('GPL3')
+makedepends=('git')
+groups=('deepin')
+source=("git+https://cr.deepin.io/deepin-desktop-base.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+build() {
+  cd "${pkgname}"
+  make
+}
+
+package() {
+  cd "${pkgname}"
+  make DESTDIR="${pkgdir}" install
+
+  # Remove Deepin distro's lsb-release
+  rm "$pkgdir"/etc/lsb-release
+
+  # Rename default desktop file to avoid conflicts
+  mv "$pkgdir"/usr/share/backgrounds/{desktop.jpg,deepin_default_background.jpg}
+
+  # Make a symlink for deepin-version
+  ln -s ../usr/lib/deepin/desktop-version "$pkgdir"/etc/deepin-version
+}


Property changes on: deepin-desktop-base/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list