Date: Friday, August 12, 2016 @ 06:14:19
  Author: felixonmars
Revision: 186475

archrelease: copy trunk to community-testing-any

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

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

Copied: deepin-desktop-base/repos/community-testing-any/PKGBUILD (from rev 
186474, deepin-desktop-base/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2016-08-12 06:14:19 UTC (rev 186475)
@@ -0,0 +1,42 @@
+# $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-base
+pkgver=2016.02.02
+pkgrel=1
+pkgdesc='Base component for Deepin'
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-desktop-base";
+license=('GPL3')
+depends=('deepin-wallpapers')
+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
+
+  # Don't override systemd timeouts
+  rm -r "$pkgdir"/etc/systemd
+
+  # 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
+
+  # Remove apt-specific templates
+  rm -r "$pkgdir"/usr/share/python-apt
+}

Reply via email to