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