[arch-commits] Commit in deepin-desktop-base/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 9 07:11:12 UTC 2020
Date: Saturday, May 9, 2020 @ 07:11:12
Author: felixonmars
Revision: 625888
upgpkg: deepin-desktop-base 2:2020.04.12.2-1
Modified:
deepin-desktop-base/trunk/PKGBUILD
----------+
PKGBUILD | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-09 07:04:34 UTC (rev 625887)
+++ PKGBUILD 2020-05-09 07:11:12 UTC (rev 625888)
@@ -3,8 +3,9 @@
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
pkgname=deepin-desktop-base
-pkgver=2019.07.10
-pkgrel=2
+pkgver=2020.04.12.2
+_tag=2020.04.12-2
+pkgrel=1
epoch=2
pkgdesc='Base component for Deepin'
arch=('any')
@@ -12,18 +13,18 @@
license=('GPL3')
depends=('deepin-wallpapers')
groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-desktop-base/archive/$pkgver.tar.gz"
+source=("$pkgname-$_tag.tar.gz::https://github.com/linuxdeepin/deepin-desktop-base/archive/$_tag.tar.gz"
distribution.info)
-sha512sums=('6b756fe9f8019c1f7a6ae5087002b4e794ac6c82b1066a2ff573952aa68ae8a7db63fc009c5aed350937602fbe3c736243a3143f58f13be114252e8565c06df8'
+sha512sums=('7b37a48936d653c22353e9a8779c3644df9a675150217a06c16a6d40a9d6ddbfc90bd18f1d60c58d947dc641a69a699219202b77644299d0f3b5dc1426db6615'
'27625e6d0786b8adacdb7c52806d4faa28d2ab6b319a593b3ea9bcb69f0cc18ea19b258d629e3a0069ef9a69503589b0285289caef39a1e85bbd99e915c7cd7d')
build() {
- cd $pkgname-$pkgver
- make VERSION=20
+ cd $pkgname-$_tag
+ make
}
package() {
- cd $pkgname-$pkgver
+ cd $pkgname-$_tag
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir"/distribution.info -t "$pkgdir"/usr/share/deepin/
@@ -37,6 +38,9 @@
# 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
}
More information about the arch-commits
mailing list