mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
38 lines
890 B
Bash
38 lines
890 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.7.4
|
|
pkgrel=1
|
|
pkgdesc='A dock based on Plasma Frameworks'
|
|
arch=(x86_64)
|
|
url='https://github.com/psifidotos/Latte-Dock'
|
|
license=(GPL)
|
|
depends=(kcrash kglobalaccel 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=('fbf24ea480275a222c426ada18c8d6de2504a591a66dc87e3516a188b849d1f9')
|
|
|
|
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
|
|
}
|