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

Felix Yan felixonmars at archlinux.org
Wed Jun 30 02:02:39 UTC 2021


    Date: Wednesday, June 30, 2021 @ 02:02:38
  Author: felixonmars
Revision: 967894

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

-------------------+
 PKGBUILD          |   41 +++++++++++++++++++++++++++++++++++++++++
 distribution.info |    7 +++++++
 2 files changed, 48 insertions(+)

Copied: deepin-desktop-base/repos/community-testing-any/PKGBUILD (from rev 967893, deepin-desktop-base/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-06-30 02:02:38 UTC (rev 967894)
@@ -0,0 +1,41 @@
+# 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.06.16
+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=('9fc903c6ae8f41d07fd6c4afd70f613788c5adfb4381e0c9e72d5c303883b2c8ab541c12ed448641174860dcda098ca5c2729397dd9cd214f7ee839b4623a4ed'
+            '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 apt-specific templates
+  rm -r "$pkgdir"/usr/share/python-apt
+}

Copied: deepin-desktop-base/repos/community-testing-any/distribution.info (from rev 967893, deepin-desktop-base/trunk/distribution.info)
===================================================================
--- community-testing-any/distribution.info	                        (rev 0)
+++ community-testing-any/distribution.info	2021-06-30 02:02:38 UTC (rev 967894)
@@ -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