# Maintainer: Debucquoy Anthony (tonitch) pkgname=better-commits pkgver=1.11.0 pkgrel=1 pkgdesc="A CLI for creating better commits following the conventional commit guidelines." arch=(any) url="https://github.com/Everduin94/better-commits" license=('MIT') makedepends=('npm') source=("https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz") noextract=("${pkgname}-${pkgver}.tgz") sha256sums=('7b955b87446f1410ca15e958b932b5ac2b324b441012dd355070d9bc7f58dd8a') package() { npm install -g --cache "${srcdir}/npm-cache" --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz" }