mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 15:37:23 +00:00
32 lines
1.0 KiB
Bash
32 lines
1.0 KiB
Bash
# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
|
|
|
|
pkgname=plasma6-applet-awesome-widgets
|
|
_pkgname=awesome-widgets
|
|
pkgver=4.0.0alpha2
|
|
pkgrel=1
|
|
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)"
|
|
arch=('x86_64')
|
|
url="https://arcanis.me/projects/awesome-widgets"
|
|
license=('GPL3')
|
|
depends=('plasma-workspace')
|
|
optdepends=("mpd: for music player monitor"
|
|
"wireless_tools: wifi information")
|
|
makedepends=('cmake' 'extra-cmake-modules' 'python')
|
|
source=(https://github.com/arcan1s/awesome-widgets/releases/download/${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
|
install="$pkgname.install"
|
|
backup=('etc/xdg/plasma-dataengine-extsysmon.conf')
|
|
|
|
build () {
|
|
cmake -B build -S "${_pkgname}" \
|
|
-DCMAKE_BUILD_TYPE=Optimization \
|
|
-DBUILD_FUTURE=ON \
|
|
-DBUILD_TESTING=OFF
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha256sums=('b2a7b07a1df6f710f4e0d6e5898933f4ddb131818b922dc4b8e48afe3e98a664')
|