mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-01 07:05:48 +00:00
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Maintainer: justforlxz <justforlxz@gmail.com>
|
|
pkgname=deepin-dock-git
|
|
pkgver=5.5.9.r54.g49d37a6c0
|
|
pkgrel=1
|
|
sourcename=dde-dock
|
|
sourcetars=("$sourcename"_"$pkgver".tar.xz)
|
|
sourcedir="$sourcename"
|
|
pkgdesc='Deepin desktop-environment - dock module'
|
|
arch=('x86_64' 'aarch64')
|
|
url="https://github.com/linuxdeepin/dde-dock"
|
|
license=('LGPL-3.0-or-later')
|
|
depends=('qt5-svg' 'deepin-daemon-git' 'deepin-qt5integration-git'
|
|
'deepin-qt-dbus-factory-git' 'libdbusmenu-qt5' 'dtkcommon-git'
|
|
'dtkcore-git' 'deepin-qt5integration-git'
|
|
'libdbusmenu-qt5' 'deepin-control-center-git' 'dwayland-git')
|
|
makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'gmock' 'extra-cmake-modules')
|
|
conflicts=('deepin-dock')
|
|
provides=('deepin-dock')
|
|
optdepends=('deepin-network-core-git')
|
|
groups=('deepin-git')
|
|
source=("${sourcetars[@]}")
|
|
sha512sums=('SKIP')
|
|
|
|
prepare() {
|
|
cd $sourcedir
|
|
}
|
|
|
|
build() {
|
|
cd $sourcedir
|
|
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
|
|
ninja
|
|
}
|
|
|
|
package() {
|
|
cd $sourcedir
|
|
DESTDIR="$pkgdir" ninja install
|
|
}
|