void-linux / void-linux/void-packages

Package request: swhks

Open
#43,463 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

request
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Package name

swhks

Package homepage

https://github.com/waycrate/swhkd

Description

swhkd is a display protocol-independent hotkey daemon made in Rust for wayland. It's a replacement for the popular sxhkd on X. I've seen an issue on this somewhere but count not find it.

This is the best I could do, I got stuck with rustup. I'm not familiar with rust but there's no rustup,
there's rust-init. Any help on this template would be appreciated, this is my first time making a
template. There's no target to make glibc.

# Template file for 'swhks'
pkgname=my-swhks
version=1.2.1
revision=1
build_style=gnu-makefile
makedepends="rustup cargo scdoc"
short_desc="Simple Wayland HotKey Daemon"
maintainer="someone <someone@gmail.com>"
license="BSD"
homepage="https://github.com/waycrate/swhkd"
distfiles="${homepage}/archive/refs/tags/${version}.tar.gz"

checksum=e74b7b2dc6ab3a31d7bdc4ece09da6ed7f959c7369112a6a45a435a8a0adf195

do_build() {
	make setup
	make clean
        make glibc
}

do_install() {
	make DESTDIR=${DESTDIR} prefix=/usr install
	vlicense LICENSE
}
Does the requested package meet the package requirements?

Compiled

Is the requested package released?

Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the linked swhkd Makefile and INSTALL.md, then compare the provided template with the repository's package conventions. Confirm the Rust build and installation steps, and consider the package complete when the recipe builds and installs the released swhks source successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, shell
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.