blob: 29be1f4ff9fb1719ef8fd2d42f12adbf65df3c1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=deepin-dock-git
pkgver=6.0.28.r1.gca4408c66
pkgrel=1
pkgdesc='Deepin desktop-environment - dock module'
arch=('x86_64' 'aarch64')
url="https://github.com/linuxdeepin/dde-dock"
license=('GPL3')
depends=(
'qt5-svg'
'deepin-daemon'
'libdbusmenu-qt5'
'dtkcore'
'dtkwidget'
'dtkgui'
'deepin-qt5integration'
'deepin-qt-dbus-factory'
)
makedepends=(
'git'
'cmake'
'ninja'
'qt5-tools'
'gtest'
'gmock'
'dtkcommon'
)
conflicts=('deepin-dock')
provides=('deepin-dock')
groups=('deepin-git')
source=("$pkgname::git+https://github.com/linuxdeepin/dde-dock")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd $pkgname
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
ninja
}
package() {
cd $pkgname
DESTDIR="$pkgdir" ninja install
}
|