a66badb13e
A debouncer written in Go. This may seem like a fairly narrow library, so why not copy-and-paste it when needed? Sure, but this is, however, slightly more usable than left-pad, and as I move my client code into the GopherJS world, a debounce function is a must-have.
19 lines
494 B
Makefile
19 lines
494 B
Makefile
# $NetBSD: Makefile,v 1.1 2018/06/14 15:15:58 minskim Exp $
|
|
|
|
DISTNAME= debounce-1.1.0
|
|
PKGNAME= go-${DISTNAME}
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=bep/}
|
|
CATEGORIES= devel
|
|
GITHUB_PROJECT= ${PKGBASE:S/^go-//}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://github.com/bep/debounce
|
|
COMMENT= Debouncer written in Go
|
|
LICENSE= mit
|
|
|
|
GO_DIST_BASE= ${DISTNAME}
|
|
GO_SRCPATH= ${HOMEPAGE:S,https://,,}
|
|
|
|
.include "../../lang/go/go-package.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|