pkgsrc-Changes archive

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

CVS commit: pkgsrc/wm



Module Name:    pkgsrc
Committed By:   jmmv
Date:           Tue Apr  2 01:50:30 UTC 2019

Modified Files:
        pkgsrc/wm: Makefile
Added Files:
        pkgsrc/wm/skhd: DESCR MESSAGE Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 pkgsrc/wm/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/wm/skhd/DESCR pkgsrc/wm/skhd/MESSAGE \
    pkgsrc/wm/skhd/Makefile pkgsrc/wm/skhd/PLIST pkgsrc/wm/skhd/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/wm/Makefile
diff -u pkgsrc/wm/Makefile:1.136 pkgsrc/wm/Makefile:1.137
--- pkgsrc/wm/Makefile:1.136    Tue Apr  2 01:49:09 2019
+++ pkgsrc/wm/Makefile  Tue Apr  2 01:50:30 2019
@@ -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

Added files:

Index: pkgsrc/wm/skhd/DESCR
diff -u /dev/null pkgsrc/wm/skhd/DESCR:1.1
--- /dev/null   Tue Apr  2 01:50:30 2019
+++ pkgsrc/wm/skhd/DESCR        Tue Apr  2 01:50:30 2019
@@ -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.
Index: pkgsrc/wm/skhd/MESSAGE
diff -u /dev/null pkgsrc/wm/skhd/MESSAGE:1.1
--- /dev/null   Tue Apr  2 01:50:30 2019
+++ pkgsrc/wm/skhd/MESSAGE      Tue Apr  2 01:50:30 2019
@@ -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
+
+===========================================================================
Index: pkgsrc/wm/skhd/Makefile
diff -u /dev/null pkgsrc/wm/skhd/Makefile:1.1
--- /dev/null   Tue Apr  2 01:50:30 2019
+++ pkgsrc/wm/skhd/Makefile     Tue Apr  2 01:50:30 2019
@@ -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"
Index: pkgsrc/wm/skhd/PLIST
diff -u /dev/null pkgsrc/wm/skhd/PLIST:1.1
--- /dev/null   Tue Apr  2 01:50:30 2019
+++ pkgsrc/wm/skhd/PLIST        Tue Apr  2 01:50:30 2019
@@ -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
Index: pkgsrc/wm/skhd/distinfo
diff -u /dev/null pkgsrc/wm/skhd/distinfo:1.1
--- /dev/null   Tue Apr  2 01:50:30 2019
+++ pkgsrc/wm/skhd/distinfo     Tue Apr  2 01:50:30 2019
@@ -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