# Maintainer: Jan Neumann # Contributor: Michael Straube pkgname=latte-dock-git _gitname=latte-dock pkgver=r6081.7b210a997 pkgrel=1 pkgdesc='Latte is a dock based on plasma frameworks that provides an elegant and intuitive experience for your tasks and plasmoids' arch=('x86_64') url='https://invent.kde.org/plasma/latte-dock' license=('GPL') depends=('plasma-framework5' 'plasma-workspace' 'kirigami2' 'knewstuff5' 'hicolor-icon-theme' 'plasma-wayland-protocols') optdepends=('libunity: quicklists, counters, and progress bars for apps using libunity') makedepends=('git' 'cmake' 'extra-cmake-modules' 'python') conflicts=('latte-dock') provides=('latte-dock') source=("git+${url}.git") sha256sums=('SKIP') pkgver() { cd ${_gitname} printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd ${_gitname} mkdir -p build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Master .. } package() { make -C ${_gitname}/build DESTDIR=${pkgdir} install }