31 lines
1023 B
Bash
31 lines
1023 B
Bash
# Template file for 'leftwm'
|
|
pkgname=leftwm
|
|
version=0.3.0
|
|
revision=1
|
|
build_style=cargo
|
|
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"
|
|
distfiles="https://github.com/leftwm/leftwm/archive/${version}.tar.gz"
|
|
checksum=d69d3ec8ea49b4a23e145d42a2f66f5c38642378c762919fce6c56b818fad8c7
|
|
|
|
do_install() {
|
|
vdoc README.md
|
|
vlicense LICENSE.md
|
|
# 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}/leftwm
|
|
vbin ${_bin_path}/leftwm-check
|
|
vbin ${_bin_path}/leftwm-worker
|
|
vbin ${_bin_path}/leftwm-state
|
|
vbin ${_bin_path}/leftwm-command
|
|
}
|