pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm Initial addition of skhd-0.3.2:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fac0faba4b64
branches:  trunk
changeset: 321824:fac0faba4b64
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Apr 02 01:50:30 2019 +0000

description:
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:

 wm/Makefile      |   3 ++-
 wm/skhd/DESCR    |   7 +++++++
 wm/skhd/MESSAGE  |  13 +++++++++++++
 wm/skhd/Makefile |  40 ++++++++++++++++++++++++++++++++++++++++
 wm/skhd/PLIST    |   4 ++++
 wm/skhd/distinfo |   6 ++++++
 6 files changed, 72 insertions(+), 1 deletions(-)

diffs (107 lines):

diff -r eb7ec6f37661 -r fac0faba4b64 wm/Makefile
--- a/wm/Makefile       Tue Apr 02 01:49:09 2019 +0000
+++ b/wm/Makefile       Tue Apr 02 01:50:30 2019 +0000
@@ -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+=       ratpoison
 SUBDIR+=       sawfish
 SUBDIR+=       selectwm
+SUBDIR+=       skhd
 SUBDIR+=       skippy
 SUBDIR+=       spectrwm
 SUBDIR+=       trayer
diff -r eb7ec6f37661 -r fac0faba4b64 wm/skhd/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/skhd/DESCR     Tue Apr 02 01:50:30 2019 +0000
@@ -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 -r eb7ec6f37661 -r fac0faba4b64 wm/skhd/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/skhd/MESSAGE   Tue Apr 02 01:50:30 2019 +0000
@@ -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 -r eb7ec6f37661 -r fac0faba4b64 wm/skhd/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/skhd/Makefile  Tue Apr 02 01:50:30 2019 +0000
@@ -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@localhost
+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 -r eb7ec6f37661 -r fac0faba4b64 wm/skhd/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/skhd/PLIST     Tue Apr 02 01:50:30 2019 +0000
@@ -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 -r eb7ec6f37661 -r fac0faba4b64 wm/skhd/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/wm/skhd/distinfo  Tue Apr 02 01:50:30 2019 +0000
@@ -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



Home | Main Index | Thread Index | Old Index