Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package request: swhks #43463

Open
rickalex21 opened this issue Apr 15, 2023 · 1 comment
Open

Package request: swhks #43463

rickalex21 opened this issue Apr 15, 2023 · 1 comment
Labels
request Package request

Comments

@rickalex21
Copy link

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

@rickalex21 rickalex21 added the request Package request label Apr 15, 2023
@triallax
Copy link
Contributor

You're not supposed to use rustup in build templates, use the cargo build style or the rust build helper instead. I think in this case the rust build helper is what you want.

I'd open a PR with your template even if it doesn't work right now, for easier review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Package request
Projects
None yet
Development

No branches or pull requests

2 participants