2025-09-01 05:01:53 +02:00
|
|
|
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
|
|
|
|
|
# Contributor: Debucquoy Anthony (tonitch) <d.tonitch@gmail.com>
|
|
|
|
|
pkgname=better-commits
|
2025-11-06 20:28:45 +01:00
|
|
|
pkgver=1.18.1
|
2025-09-01 05:01:53 +02:00
|
|
|
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
|
|
|
|
|
)
|
|
|
|
|
depends=(
|
|
|
|
|
nodejs
|
|
|
|
|
)
|
|
|
|
|
makedepends=(
|
|
|
|
|
npm
|
|
|
|
|
)
|
|
|
|
|
source=("https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz")
|
2025-11-06 20:28:45 +01:00
|
|
|
b2sums=('ae06da886a20a06e6c4c9c5a61c723ac76cc8c4b139856119923e2c5117cf9ca9bd77381b6776a4680ce9cbe1d9e0d2a6315335d57aea122ebfb96f286c20a92')
|
2025-09-01 05:01:53 +02:00
|
|
|
noextract=("${pkgname}-${pkgver}.tgz")
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
|
npm install -g --cache "${srcdir}/npm-cache" --prefix "${pkgdir}/usr" "${srcdir}/${pkgname}-${pkgver}.tgz"
|
|
|
|
|
install -Dm644 "${pkgdir}/usr/lib/node_modules/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
|
|
|
|
|
install -Dm644 "${pkgdir}/usr/lib/node_modules/${pkgname}/readme.md" "${pkgdir}/usr/share/doc/${pkgname}/readme.md"
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# vim: set ft=sh ts=4 sw=4 et:
|