template (834B)
1# Template file for 'wshowkeys' 2pkgname=wshowkeys 3version=0.1.0 4revision=4 5build_style=meson 6hostmakedepends="git pkg-config" 7makedepends="cairo-devel libinput-devel libxkbcommon-devel 8 pango-devel wayland-devel wayland-protocols libxkbcommon-devel" 9short_desc="Displays keys being pressed on a Wayland session" 10maintainer="Dash Eclipse <dashezup@disroot.org>" 11license="GPL-3.0-or-later" 12homepage="https://git.sr.ht/~sircmpwn/wshowkeys" 13nocross="protocols/meson.build:10:1: ERROR: Program 'wayland-scanner' not found" 14_commit="6388a49e0f431d6d5fcbd152b8ae4fa8e87884ee" 15tags="ezup gitpkg ${_commit}" 16 17do_fetch() { 18 git clone --depth 1 ${homepage} ${wrksrc} 19 git -C ${wrksrc} reset --hard ${_commit} 20 #commit_id=$(git -C ${wrksrc} rev-parse --short HEAD) 21 #sed -i "/version: '0.1.0'/s/0.1.0/0.1.0-${commit_id}/" ${wrksrc}/meson.build 22}