diff options
author | jmmv <jmmv@pkgsrc.org> | 2019-04-02 01:50:30 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2019-04-02 01:50:30 +0000 |
commit | 110dc013a0861f8b586649aa7f6dec4d84b747a5 (patch) | |
tree | 90ab184ddde17507f76aec7a56090d57e8476320 /wm | |
parent | fec369238be0d3d18c1545ffe85cd1012086e9ba (diff) | |
download | pkgsrc-110dc013a0861f8b586649aa7f6dec4d84b747a5.tar.gz |
Initial addition of skhd-0.3.2:
skhd is a simple hotkey daemon for macOS.
skhd is a stripped version of khd (no longer maintained) (although
rewritten from scratch), that sacrifices the more advanced features in
favour of increased responsiveness and performance. skhd is able to
hotload its config file, meaning that hotkeys can be edited and updated
live while skhd is running.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/Makefile | 3 | ||||
-rw-r--r-- | wm/skhd/DESCR | 7 | ||||
-rw-r--r-- | wm/skhd/MESSAGE | 13 | ||||
-rw-r--r-- | wm/skhd/Makefile | 40 | ||||
-rw-r--r-- | wm/skhd/PLIST | 4 | ||||
-rw-r--r-- | wm/skhd/distinfo | 6 |
6 files changed, 72 insertions, 1 deletions
diff --git a/wm/Makefile b/wm/Makefile index 797320287fe..8969c9c0649 100644 --- a/wm/Makefile +++ b/wm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.136 2019/04/02 01:49:09 jmmv Exp $ +# $NetBSD: Makefile,v 1.137 2019/04/02 01:50:30 jmmv Exp $ # COMMENT= X11 window managers, configuration tools, and themes @@ -76,6 +76,7 @@ SUBDIR+= quartz-wm SUBDIR+= ratpoison SUBDIR+= sawfish SUBDIR+= selectwm +SUBDIR+= skhd SUBDIR+= skippy SUBDIR+= spectrwm SUBDIR+= trayer diff --git a/wm/skhd/DESCR b/wm/skhd/DESCR new file mode 100644 index 00000000000..4e217a2dee2 --- /dev/null +++ b/wm/skhd/DESCR @@ -0,0 +1,7 @@ +skhd is a simple hotkey daemon for macOS. + +skhd is a stripped version of khd (no longer maintained) (although +rewritten from scratch), that sacrifices the more advanced features in +favour of increased responsiveness and performance. skhd is able to +hotload its config file, meaning that hotkeys can be edited and updated +live while skhd is running. diff --git a/wm/skhd/MESSAGE b/wm/skhd/MESSAGE new file mode 100644 index 00000000000..068716481c1 --- /dev/null +++ b/wm/skhd/MESSAGE @@ -0,0 +1,13 @@ +=========================================================================== +$NetBSD: MESSAGE,v 1.1 2019/04/02 01:50:30 jmmv Exp $ + +skhd has been configured to start with your session. + +To get started, copy ${PREFIX}/share/examples/skhd/skhdrc to +~/.skhdrc and edit at will. The configuration file must be executable. + +Once done, launch skhd with: + +launchctl load /Library/LaunchAgents/com.koekeishiya.skhd.plist + +=========================================================================== diff --git a/wm/skhd/Makefile b/wm/skhd/Makefile new file mode 100644 index 00000000000..9dce3eb6763 --- /dev/null +++ b/wm/skhd/Makefile @@ -0,0 +1,40 @@ +# $NetBSD: Makefile,v 1.1 2019/04/02 01:50:30 jmmv Exp $ + +DISTNAME= ${PKGNAME:S/skhd-/v/} +PKGNAME= skhd-0.3.2 +CATEGORIES= wm +MASTER_SITES= ${MASTER_SITE_GITHUB:=koekeishiya/}skhd/archive/ +DIST_SUBDIR= skhd + +MAINTAINER= jmmv@NetBSD.org +COMMENT= Simple hotkey daemon for macOS +LICENSE= mit + +ONLY_FOR_PLATFORM= Darwin-*-* + +USE_LANGUAGES= c99 +USE_TOOLS= gmake +WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} + +SUBST_CLASSES+= paths +SUBST_STAGE.paths= pre-configure +SUBST_FILES.paths= examples/com.koekeishiya.skhd.plist +SUBST_SED.paths= -e 's,/usr/local,${PREFIX},g' + +CONF_FILES= ${PREFIX}/share/skhd/com.koekeishiya.skhd.plist \ + /Library/LaunchAgents/com.koekeishiya.skhd.plist + +do-build: + cd ${WRKSRC} && gmake BUILD_FLAGS="-std=c99 -O3" + +INSTALLATION_DIRS= bin share/skhd share/examples/skhd + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/skhd \ + ${DESTDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/examples/skhdrc \ + ${DESTDIR}${PREFIX}/share/examples/skhd + ${INSTALL_DATA} ${WRKSRC}/examples/com.koekeishiya.skhd.plist \ + ${DESTDIR}${PREFIX}/share/skhd + +.include "../../mk/bsd.pkg.mk" diff --git a/wm/skhd/PLIST b/wm/skhd/PLIST new file mode 100644 index 00000000000..4194e9071de --- /dev/null +++ b/wm/skhd/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2019/04/02 01:50:30 jmmv Exp $ +bin/skhd +share/examples/skhd/skhdrc +share/skhd/com.koekeishiya.skhd.plist diff --git a/wm/skhd/distinfo b/wm/skhd/distinfo new file mode 100644 index 00000000000..eb33f34ec14 --- /dev/null +++ b/wm/skhd/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2019/04/02 01:50:30 jmmv Exp $ + +SHA1 (skhd/v0.3.2.tar.gz) = 1c2fd2a86bb4e8c6620fc2b93533ad436468eda1 +RMD160 (skhd/v0.3.2.tar.gz) = 8c0295ab11fc61402f696a3614d957abc545ea44 +SHA512 (skhd/v0.3.2.tar.gz) = 0cda57a032761ea57b6cab50310cf8d61ec15fbff23f23480c7cffb776f447cca119dab5d289f3cab241d3b2d996f8782f0d9f0b649d146935785790f8ad8bea +Size (skhd/v0.3.2.tar.gz) = 23020 bytes |