blob: b7ee6318bbb21edd3103b54daa4740959fc02015 (
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.15.5
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=('f0a088031896ed8d3b0a4fc4eb0fed6881a57607bcf57673fe8f7c67832f3ae0')
package() {
cd "${srcdir}/package/bin"
install -Dm755 -t "${pkgdir}/usr/bin" "${_name}"
}
|