[arch-commits] Commit in deepin-desktop-base/repos (2 files)

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


    Date: Wednesday, December 30, 2015 @ 14:09:52
  Author: fyan
Revision: 155033

archrelease: copy trunk to community-any

Added:
  deepin-desktop-base/repos/community-any/
  deepin-desktop-base/repos/community-any/PKGBUILD
    (from rev 155032, deepin-desktop-base/trunk/PKGBUILD)

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

Copied: deepin-desktop-base/repos/community-any/PKGBUILD (from rev 155032, deepin-desktop-base/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-12-30 13:09:52 UTC (rev 155033)
@@ -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
+}



More information about the arch-commits mailing list