desktop/plasma5-applets-latte-dock/PKGBUILD

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.1
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=('989c263727770b3c254b03f0a197649b7c0bc39ae75ded63d433779da10288b8')
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
}