parent
2646cb61e9
commit
9fbb821acf
|
@ -0,0 +1,6 @@
|
|||
This is a wayland compositor so it needs to be run as root or,
|
||||
if it is started inside Xorg and xorg-server-wayland is installed,
|
||||
can be run by the user.
|
||||
|
||||
A configuration example is available at /usr/share/examples/way-cooler/init.lua
|
||||
This example can be copied to $XDG_CONFIG_HOME/way-cooler
|
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'way-cooler'
|
||||
pkgname=way-cooler
|
||||
version=0.6.2
|
||||
revision=1
|
||||
hostmakedepends="pkg-config rust cargo git"
|
||||
makedepends="dbus-devel glib-devel cairo-devel wayland-devel wlc-devel"
|
||||
depends="lua"
|
||||
short_desc="Customizable Wayland compositor written in Rust with Lua API"
|
||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/way-cooler/way-cooler"
|
||||
distfiles="https://github.com/way-cooler/way-cooler/archive/v${version}.tar.gz"
|
||||
checksum=b0fbaa5ddb5b6ea52953d3ae8004bca8c70bf96e6081dc6c54afb6ae68a6e838
|
||||
nocross=yes
|
||||
|
||||
do_build() {
|
||||
cargo build --release
|
||||
}
|
||||
|
||||
do_install() {
|
||||
# install the binary
|
||||
vbin target/release/"${pkgname}"
|
||||
|
||||
# install the configuration on the examples
|
||||
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
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
ignore=".*"
|
Loading…
Reference in New Issue