pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
task: Include shell completion files in package
Module Name: pkgsrc-wip
Committed By: Iku Iwasa <iku.iwasa%gmail.com@localhost>
Pushed By: iquiw
Date: Tue Feb 11 16:30:02 2020 +0900
Changeset: 26340273449e86825c5b88ba5a12feb6080fd769
Modified Files:
task/Makefile
task/PLIST
Log Message:
task: Include shell completion files in package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=26340273449e86825c5b88ba5a12feb6080fd769
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
task/Makefile | 10 ++++++++--
task/PLIST | 2 ++
2 files changed, 10 insertions(+), 2 deletions(-)
diffs:
diff --git a/task/Makefile b/task/Makefile
index ec8d54f9e9..c637ee9516 100644
--- a/task/Makefile
+++ b/task/Makefile
@@ -1,7 +1,7 @@
# $NetBSD$
PKGNAME= task-2.8.0
-PKGREVISION= 1
+PKGREVISION= 2
DISTNAME= task-${GITHUB_TAG}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=go-task/}
@@ -18,10 +18,16 @@ EXTRACT_USING= bsdtar
GO_DIST_BASE= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
GO_SRCPATH= github.com/go-task/task/
-INSTALLATION_DIRS+= bin
+INSTALLATION_DIRS+= bin \
+ share/bash-completion/completions \
+ share/zsh/site-functions
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/bin/task ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/completion/bash/task.bash \
+ ${DESTDIR}${PREFIX}/share/bash-completion/completions/task
+ ${INSTALL_DATA} ${WRKSRC}/completion/zsh/_task \
+ ${DESTDIR}${PREFIX}/share/zsh/site-functions/_task
.include "../../lang/go/go-package.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/task/PLIST b/task/PLIST
index 844d877c7c..acc00c3825 100644
--- a/task/PLIST
+++ b/task/PLIST
@@ -1,2 +1,4 @@
@comment $NetBSD$
bin/task
+share/bash-completion/completions/task
+share/zsh/site-functions/_task
Home |
Main Index |
Thread Index |
Old Index