Files
repos/desktop/dwl/dwl.toml
2026-03-20 10:25:48 +01:00

37 lines
1.1 KiB
TOML

[package]
name = "dwl"
version = "0.7"
description = "Dynamic window manager for Wayland (dwm-like)"
url = "https://codeberg.org/dwl/dwl"
license = "GPL-3.0"
[source]
# Tarball release (default)
url = "https://codeberg.org/dwl/dwl/archive/v${version}.tar.gz"
sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
# To build from git main branch instead, change to:
# url = ""
# sha256 = "SKIP"
# git = "https://codeberg.org/dwl/dwl.git"
# branch = "main"
#
# To pin to a specific tag:
# git = "https://codeberg.org/dwl/dwl.git"
# tag = "v${version}"
update_check = "https://codeberg.org/api/v1/repos/dwl/dwl/releases/latest"
[dependencies]
run = ["wlroots", "wayland", "wayland-protocols", "libinput", "xwayland", "libxcursor"]
build = ["gcc", "make", "pkg-config"]
[build]
system = "custom"
# Copy DarkForge config.h before building — dwl is configured at compile time
# The config.h lives at /etc/dwl/config.h on the installed system and is also
# deployed by the installer from configs/dwl/config.h
configure = """cp /etc/dwl/config.h config.h 2>/dev/null || true"""
make = "make"
install = "make DESTDIR=${PKG} PREFIX=/usr install"