summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD13
2 files changed, 13 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 801aacf8d5c..8f4fcc66acc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
pkgbase = deepin-dock-git
pkgdesc = Deepin desktop-environment - dock module
- pkgver = 5.5.9.r54.g49d37a6c0
+ pkgver = 5.5.9.r62.g1564718c8
pkgrel = 1
url = https://github.com/linuxdeepin/dde-dock
arch = x86_64
+ arch = aarch64
groups = deepin-git
license = GPL3
makedepends = git
@@ -24,7 +25,7 @@ pkgbase = deepin-dock-git
depends = libdbusmenu-qt5
provides = deepin-dock
conflicts = deepin-dock
- source = deepin-dock-git::git://github.com/linuxdeepin/dde-dock
+ source = deepin-dock-git::git+https://github.com/linuxdeepin/dde-dock
sha512sums = SKIP
pkgname = deepin-dock-git
diff --git a/PKGBUILD b/PKGBUILD
index ca73d539559..12cfd7619a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=deepin-dock-git
-pkgver=5.5.9.r54.g49d37a6c0
+pkgver=5.5.9.r62.g1564718c8
pkgrel=1
pkgdesc='Deepin desktop-environment - dock module'
-arch=('x86_64')
+arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dde-dock"
license=('GPL3')
depends=('qt5-svg' 'deepin-daemon-git' 'deepin-qt5integration-git'
@@ -13,7 +13,7 @@ makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'gmock' 'deepin-qt5integr
conflicts=('deepin-dock')
provides=('deepin-dock')
groups=('deepin-git')
-source=("$pkgname::git://github.com/linuxdeepin/dde-dock")
+source=("$pkgname::git+https://github.com/linuxdeepin/dde-dock")
sha512sums=('SKIP')
pkgver() {
@@ -21,6 +21,13 @@ pkgver() {
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
+prepare() {
+ cd $pkgname
+ if [[ ! -z ${sha} ]];then
+ git checkout -b $sha
+ fi
+}
+
build() {
cd $pkgname
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES