mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
feat: add archlinux build
sync from deepin-community Log:
This commit is contained in:
parent
585b13bd7b
commit
e7b2f25e97
31
archlinux/PKGBUILD
Normal file
31
archlinux/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
# Maintainer: justforlxz <justforlxz@gmail.com>
|
||||||
|
pkgname=deepin-dock-git
|
||||||
|
pkgver=5.5.9.r54.g49d37a6c0
|
||||||
|
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-git' 'deepin-qt5integration-git'
|
||||||
|
'deepin-qt-dbus-factory-git' 'deepin-network-utils-git' 'libdbusmenu-qt5')
|
||||||
|
makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'gmock' 'dtkcommon-git' 'dtkcore-git' 'deepin-qt5integration-git' 'deepin-qt-dbus-factory' 'deepin-network-utils-git' 'libdbusmenu-qt5')
|
||||||
|
conflicts=('deepin-dock')
|
||||||
|
provides=('deepin-dock')
|
||||||
|
groups=('deepin-git')
|
||||||
|
source=('source.tar.gz')
|
||||||
|
sha512sums=('SKIP')
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
cd $deepin_source_name
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $deepin_source_name
|
||||||
|
cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib -DDOCK_TRAY_USE_NATIVE_POPUP=YES
|
||||||
|
ninja
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $deepin_source_name
|
||||||
|
DESTDIR="$pkgdir" ninja install
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user