26 lines
878 B
Bash
26 lines
878 B
Bash
|
# Template file for 'eww'
|
||
|
pkgname=eww
|
||
|
version=0.6.0
|
||
|
revision=1
|
||
|
build_style=cargo
|
||
|
build_helper="qemu"
|
||
|
make_install_args="--path=crates/eww"
|
||
|
hostmakedepends="pkg-config"
|
||
|
makedepends="gtk+3-devel gtk-layer-shell-devel pango-devel gdk-pixbuf-devel
|
||
|
cairo-devel glib-devel libdbusmenu-gtk3-devel"
|
||
|
short_desc="Toolkit for creating custom bars and widgets"
|
||
|
maintainer="Christopher K. 'Shmish' Schmitt <me@shmish.dev>"
|
||
|
license="MIT"
|
||
|
homepage="https://elkowar.github.io/eww"
|
||
|
changelog="https://raw.githubusercontent.com/elkowar/eww/master/CHANGELOG.md"
|
||
|
distfiles="https://github.com/elkowar/eww/archive/refs/tags/v${version}.tar.gz"
|
||
|
checksum=cef361946946c566b79f8ddc6208d1a3f16b4ff9961439a3f86935e1cfa174a1
|
||
|
|
||
|
post_install() {
|
||
|
vlicense LICENSE
|
||
|
for sh in bash fish zsh; do
|
||
|
vtargetrun "${DESTDIR}/usr/bin/eww" shell-completions -s "$sh" > "eww.$sh"
|
||
|
vcompletion "eww.$sh" "$sh"
|
||
|
done
|
||
|
}
|