void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

commit a77b39e31613057c8fffd11ab80e436160c19e7a
parent 3ac7aa1fd99e9d49c0ace5ebbb9baed9927a7ef9
Author: Dash Eclipse <dash@ezup.dev>
Date:   Wed, 22 Jul 2020 21:00:13 +0000

New Package: wshowkeys

Diffstat:
MREADME | 1+
Msrcpkgs/scroll/template | 2+-
Asrcpkgs/wshowkeys/INSTALL | 5+++++
Asrcpkgs/wshowkeys/template | 18++++++++++++++++++
4 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/README b/README @@ -9,6 +9,7 @@ Dash Eclipse's Void Linux Repository pass * * scroll * slock scrollback, scrollback-mouse, nordtheme +* wshowkeys * * trojan * wterm * * ydotool diff --git a/srcpkgs/scroll/template b/srcpkgs/scroll/template @@ -10,7 +10,7 @@ maintainer="Dash Eclipse <dash@ezup.dev>" license="ISC" homepage="https://git.suckless.org/scroll" -do_fetch(){ +do_fetch() { git clone --depth 1 git://git.suckless.org/scroll ${wrksrc} commit_id=$(git -C ${wrksrc} rev-parse --short HEAD) sed -i "/^VERSION = /s/$/-${commit_id}/" ${wrksrc}/config.mk diff --git a/srcpkgs/wshowkeys/INSTALL b/srcpkgs/wshowkeys/INSTALL @@ -0,0 +1,5 @@ +case "${ACTION}" in +post) + chmod a+s /usr/bin/wshowkeys + ;; +esac diff --git a/srcpkgs/wshowkeys/template b/srcpkgs/wshowkeys/template @@ -0,0 +1,18 @@ +# Template file for 'wshowkeys' +pkgname=wshowkeys +version=0.1.0 +revision=1 +build_style=meson +hostmakedepends="git pkg-config" +makedepends="cairo-devel libinput-devel libxkbcommon-devel + pango-devel wayland-devel wayland-protocols libxkbcommon-devel" +short_desc="Displays keys being pressed on a Wayland session" +maintainer="Dash Eclipse <dash@ezup.dev>" +license="GPL-3.0-or-later" +homepage="https://git.sr.ht/~sircmpwn/wshowkeys" + +do_fetch() { + git clone --depth 1 ${homepage} ${wrksrc} + commit_id=$(git -C ${wrksrc} rev-parse --short HEAD) + sed -i "/version: '0.1.0'/s/0.1.0/0.1.0-${commit_id}/" ${wrksrc}/meson.build +}