summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorjustforlxz2022-03-20 01:02:17 +0800
committerjustforlxz2022-03-20 01:02:17 +0800
commitf625cf935fb4d9c737ad68f3fcdf623faff37107 (patch)
treec29d0fe16e23f00e0d80f10ad263c84845113c5e /PKGBUILD
parenta5e3661101f8b07095ccc8587b10b3be24d53f53 (diff)
downloadaur-deepin-dock-git.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
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