35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'leftwm'
|
|
pkgname=leftwm
|
|
version=0.4.1
|
|
revision=1
|
|
build_style=cargo
|
|
configure_args="--no-default-features --features lefthk,sys-log"
|
|
makedepends="libX11-devel libXinerama-devel libXrandr-devel xorg-server-devel"
|
|
depends="libX11 libXinerama xorg-server xrandr"
|
|
short_desc="Tiling window manager for Adventurers"
|
|
maintainer="Soc Virnyl S. Estela <socvirnyl.estela@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/leftwm/leftwm"
|
|
changelog="https://raw.githubusercontent.com/leftwm/leftwm/main/CHANGELOG"
|
|
distfiles="https://github.com/leftwm/leftwm/archive/refs/tags/${version}.tar.gz"
|
|
checksum=fe10c6ef9f458a889ff0020d348e0185eeba8c606e2fb8ac04a78ac214ce40bc
|
|
|
|
do_install() {
|
|
vdoc README.md
|
|
vlicense LICENSE.md
|
|
vman leftwm/doc/leftwm.1
|
|
# Example themes to use as references
|
|
vmkdir usr/share/examples/leftwm/
|
|
vcopy themes usr/share/examples/leftwm/
|
|
# Add to xsession
|
|
vinstall leftwm.desktop 644 usr/share/xsessions/
|
|
# Installing corresponding binaries
|
|
local _bin_path="${wrksrc}/target/${RUST_TARGET}/release"
|
|
vbin ${_bin_path}/lefthk-worker
|
|
vbin ${_bin_path}/leftwm
|
|
vbin ${_bin_path}/leftwm-check
|
|
vbin ${_bin_path}/leftwm-worker
|
|
vbin ${_bin_path}/leftwm-state
|
|
vbin ${_bin_path}/leftwm-command
|
|
}
|