[arch-commits] Commit in deepin-desktop-base/trunk (PKGBUILD distribution.info)

Felix Yan felixonmars at archlinux.org
Fri May 8 12:58:32 UTC 2020


    Date: Friday, May 8, 2020 @ 12:58:31
  Author: felixonmars
Revision: 625629

upgpkg: deepin-desktop-base 2:2019.07.10-2

Added:
  deepin-desktop-base/trunk/distribution.info
Modified:
  deepin-desktop-base/trunk/PKGBUILD

-------------------+
 PKGBUILD          |   12 ++++++++----
 distribution.info |    7 +++++++
 2 files changed, 15 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 12:51:15 UTC (rev 625628)
+++ PKGBUILD	2020-05-08 12:58:31 UTC (rev 625629)
@@ -4,7 +4,7 @@
 
 pkgname=deepin-desktop-base
 pkgver=2019.07.10
-pkgrel=1
+pkgrel=2
 epoch=2
 pkgdesc='Base component for Deepin'
 arch=('any')
@@ -12,12 +12,14 @@
 license=('GPL3')
 depends=('deepin-wallpapers')
 groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-desktop-base/archive/$pkgver.tar.gz")
-sha512sums=('6b756fe9f8019c1f7a6ae5087002b4e794ac6c82b1066a2ff573952aa68ae8a7db63fc009c5aed350937602fbe3c736243a3143f58f13be114252e8565c06df8')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-desktop-base/archive/$pkgver.tar.gz"
+        distribution.info)
+sha512sums=('6b756fe9f8019c1f7a6ae5087002b4e794ac6c82b1066a2ff573952aa68ae8a7db63fc009c5aed350937602fbe3c736243a3143f58f13be114252e8565c06df8'
+            '27625e6d0786b8adacdb7c52806d4faa28d2ab6b319a593b3ea9bcb69f0cc18ea19b258d629e3a0069ef9a69503589b0285289caef39a1e85bbd99e915c7cd7d')
 
 build() {
   cd $pkgname-$pkgver
-  make
+  make VERSION=20
 }
 
 package() {
@@ -24,6 +26,8 @@
   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
 

Added: distribution.info
===================================================================
--- distribution.info	                        (rev 0)
+++ distribution.info	2020-05-08 12:58:31 UTC (rev 625629)
@@ -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