some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'way-cooler'
|
|
pkgname=way-cooler
|
|
version=0.8.1
|
|
revision=1
|
|
build_style=cargo
|
|
hostmakedepends="pkg-config git python3 glib-devel"
|
|
makedepends="dbus-devel libglib-devel cairo-devel wayland-devel wlc-devel
|
|
libxcb-devel gdk-pixbuf-devel lua-devel"
|
|
short_desc="Customizable Wayland compositor written in Rust with Lua API"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/way-cooler/way-cooler"
|
|
distfiles="https://github.com/way-cooler/way-cooler/archive/v${version}.tar.gz"
|
|
checksum=c95e5ac960eacf79a1267aa36cb3a94d6e023d0389845424b782e5b65cc56346
|
|
nocross="error compiling wayland-sys: mismatched types --> src/wayland/gamma_control.rs:101:13"
|
|
|
|
post_install() {
|
|
chmod u+s "${DESTDIR}"/usr/bin/way-cooler
|
|
|
|
# install the configuration on the examples
|
|
vsconf config/rc.lua
|
|
vsconf config/init.lua
|
|
|
|
# normally the docs would be in a separate -doc package but the end
|
|
# user has to configure the wayland compositor and these provide
|
|
# essential information
|
|
vmkdir usr/share/docs/"${pkgname}"
|
|
vcopy "docs/*" usr/share/docs/"${pkgname}"
|
|
|
|
# Install .desktop file
|
|
vmkdir usr/share/wayland-sessions
|
|
vcopy way-cooler.desktop usr/share/wayland-sessions
|
|
|
|
vlicense LICENSE
|
|
}
|