pkgname=esbuild-bin pkgver=0.15.0 pkgrel=1 pkgdesc="An extremely fast JavaScript and CSS bundler and minifier." arch=('x86_64') url="https://esbuild.github.io" license=('MIT') _name="${pkgname%-bin}" provides=("${_name}") conflicts=("${_name}") _npmpkg="${_name}-linux-64" _archive="${_npmpkg}-${pkgver}.tgz" source=("${_archive}::https://registry.npmjs.org/${_npmpkg}/-/${_archive}") sha256sums=('68f4b2bf9cdb36a2d473f607bc1ee55c12c35c7e0f4675dfd4bd09256f429251') package() { cd "${srcdir}/package/bin" install -Dm755 -t "${pkgdir}/usr/bin" "${_name}" }