35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'leftwm'
|
|
pkgname=leftwm
|
|
version=0.4.2
|
|
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=97a86b2966d20fd56237905fd90692a873e979759831f6030da2db9d5dc11f2b
|
|
|
|
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
|
|
}
|