mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
38 lines
892 B
Bash
38 lines
892 B
Bash
# Contributions from Arch:
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Michael Straube <straubem@gmx.de>
|
|
|
|
pkgname=plasma5-applets-latte-dock
|
|
_pkgname=latte-dock
|
|
pkgver=0.8.3
|
|
pkgrel=1
|
|
pkgdesc='A dock based on Plasma Frameworks'
|
|
arch=(x86_64)
|
|
url='https://store.kde.org/p/1169519/'
|
|
license=(GPL)
|
|
depends=(kcrash kglobalaccel knewstuff kwayland plasma-framework hicolor-icon-theme)
|
|
makedepends=(extra-cmake-modules python3)
|
|
conflicts=(plasma5-applets-nowdock)
|
|
replaces=(plasma5-applets-nowdock)
|
|
source=("https://download.kde.org/stable/$_pkgname/$_pkgname-$pkgver.tar.xz")
|
|
sha256sums=('d3d6920a9020f4afa7663803a095a4b1f6607fbce53fbc828b33778d9e0aefc9')
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
|
|
cmake ../$_pkgname-$pkgver \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
}
|