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

Felix Yan felixonmars at archlinux.org
Mon May 17 15:13:52 UTC 2021


    Date: Monday, May 17, 2021 @ 15:13:52
  Author: felixonmars
Revision: 936026

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 936025, deepin-desktop-base/trunk/PKGBUILD)
  deepin-desktop-base/repos/community-testing-any/distribution.info
    (from rev 936025, deepin-desktop-base/trunk/distribution.info)

-------------------+
 PKGBUILD          |   44 ++++++++++++++++++++++++++++++++++++++++++++
 distribution.info |    7 +++++++
 2 files changed, 51 insertions(+)

Copied: deepin-desktop-base/repos/community-testing-any/PKGBUILD (from rev 936025, deepin-desktop-base/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-05-17 15:13:52 UTC (rev 936026)
@@ -0,0 +1,44 @@
+# 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=2021.5.07
+pkgrel=1
+epoch=2
+pkgdesc='Base component for Deepin'
+arch=('any')
+url="https://github.com/linuxdeepin/deepin-desktop-base"
+license=('GPL3')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-desktop-base/archive/$pkgver.tar.gz"
+        distribution.info)
+sha512sums=('67d8b2baaa1b0ee4019f7b51428a3590b7271fbcd8d9d4ca08284be56d1140cced57959a745c96c092758d9d9cd09de1222002c8fed443e3bdf66847ec45fcfe'
+            '27625e6d0786b8adacdb7c52806d4faa28d2ab6b319a593b3ea9bcb69f0cc18ea19b258d629e3a0069ef9a69503589b0285289caef39a1e85bbd99e915c7cd7d')
+
+build() {
+  cd $pkgname-$pkgver
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 "$srcdir"/distribution.info -t "$pkgdir"/usr/share/deepin/
+
+  # Remove Deepin distro's lsb-release
+  rm "$pkgdir"/etc/lsb-release
+
+  # Don't override systemd timeouts
+  rm -r "$pkgdir"/etc/systemd
+
+  # Make a symlink for deepin-version
+  ln -s ../usr/lib/deepin/desktop-version "$pkgdir"/etc/deepin-version
+
+  # Remove UOS logo
+  rm "$pkgdir"/usr/share/deepin/uos_logo.svg
+
+  # Remove apt-specific templates
+  rm -r "$pkgdir"/usr/share/python-apt
+}

Copied: deepin-desktop-base/repos/community-testing-any/distribution.info (from rev 936025, deepin-desktop-base/trunk/distribution.info)
===================================================================
--- community-testing-any/distribution.info	                        (rev 0)
+++ community-testing-any/distribution.info	2021-05-17 15:13:52 UTC (rev 936026)
@@ -0,0 +1,7 @@
+[Distribution]
+Name=Arch
+WebsiteName=www.archlinux.org
+Website=https://www.archlinux.org
+Logo=/usr/share/pixmaps/archlinux.svg
+LogoLight=/usr/share/pixmaps/archlinux.svg
+LogoTransparent=/usr/share/pixmaps/archlinux.svg



More information about the arch-commits mailing list