desktop/plasma5-applets-latte-dock/PKGBUILD
2017-05-09 23:56:33 +01:00

37 lines
938 B
Bash

# Contributions from Arch:
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Michael Straube <straubem@gmx.de>
pkgname=plasma5-applets-latte-dock
pkgver=0.6.2
pkgrel=1
pkgdesc='A dock based on Plasma Frameworks'
arch=(x86_64)
url='https://github.com/psifidotos/Latte-Dock'
license=(GPL)
depends=(kwayland plasma-framework hicolor-icon-theme)
makedepends=(extra-cmake-modules python3)
conflicts=(plasma5-applets-nowdock)
replaces=(plasma5-applets-nowdock)
source=("$pkgname-$pkgver.tar.gz::https://github.com/psifidotos/Latte-Dock/archive/v$pkgver.tar.gz")
sha256sums=('3de5826473f467e2f92fda5296dc1cb4f73aa7cf11c32f5a43d5886b899332b3')
prepare() {
mkdir -p Latte-Dock-$pkgver/build # out-of-tree build fails
}
build() {
cd Latte-Dock-$pkgver/build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd Latte-Dock-$pkgver/build
make DESTDIR="$pkgdir" install
}