* [ISSUE] Package request: swhks
@ 2023-04-15 19:07 rickalex21
2023-04-15 19:19 ` mhmdanas
0 siblings, 1 reply; 2+ messages in thread
From: rickalex21 @ 2023-04-15 19:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1513 bytes --]
New issue by rickalex21 on void-packages repository
https://github.com/void-linux/void-packages/issues/43463
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.
* [Makefile](https://github.com/waycrate/swhkd/blob/main/Makefile)
* [Install Instructions](https://github.com/waycrate/swhkd/blob/main/INSTALL.md)
```sh
# 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Package request: swhks
2023-04-15 19:07 [ISSUE] Package request: swhks rickalex21
@ 2023-04-15 19:19 ` mhmdanas
0 siblings, 0 replies; 2+ messages in thread
From: mhmdanas @ 2023-04-15 19:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
New comment by mhmdanas on void-packages repository
https://github.com/void-linux/void-packages/issues/43463#issuecomment-1509935656
Comment:
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-15 19:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-15 19:07 [ISSUE] Package request: swhks rickalex21
2023-04-15 19:19 ` mhmdanas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).