blob: f38ed6f3e7dd45cbc066bc13723289bee817dea7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname=esbuild-bin
pkgver=0.14.53
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=('3268b0e9e5a15d07a00b88a80b4b34355550b1c28396b7891ee3bebceb42cbc9')
package() {
cd "${srcdir}/package/bin"
install -Dm755 -t "${pkgdir}/usr/bin" "${_name}"
}
|