2017-04-05 16:04:54 +08:00
|
|
|
# Contributions from Arch:
|
|
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
|
|
# Contributor: Michael Straube <straubem@gmx.de>
|
|
|
|
|
|
|
|
pkgname=plasma5-applets-latte-dock
|
2017-05-08 07:09:04 +08:00
|
|
|
pkgver=0.6.1
|
2017-04-05 16:04:54 +08:00
|
|
|
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")
|
2017-05-08 07:09:04 +08:00
|
|
|
sha256sums=('120855cdcaced156b0c7ff6cabcf3da183aac671753e74990ef638ca57e9363e')
|
2017-04-05 16:04:54 +08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|