summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanabishi2022-04-11 17:49:55 +0500
committerHanabishi2022-04-11 17:49:55 +0500
commit5b269d014fa6b5668c05642de13c07d0e1888ffe (patch)
tree9623d3f36bea3480d4b2a432f993fbf334e7a32d
downloadaur-5b269d014fa6b5668c05642de13c07d0e1888ffe.tar.gz
Init package
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD20
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0dc1614fad4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = esbuild-bin
+ pkgdesc = An extremely fast JavaScript and CSS bundler and minifier.
+ pkgver = 0.14.34
+ pkgrel = 1
+ url = https://esbuild.github.io
+ arch = x86_64
+ license = MIT
+ provides = esbuild
+ conflicts = esbuild
+ source = esbuild-linux-64-0.14.34.tgz::https://registry.npmjs.org/esbuild-linux-64/-/esbuild-linux-64-0.14.34.tgz
+ sha256sums = f8ae70245fd4a48e0e57603827665da22a442b4327a27364db2a84f07e2e534c
+
+pkgname = esbuild-bin
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..d3f29b6bda5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.tgz
+*.pkg.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..02ae6514770
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname=esbuild-bin
+pkgver=0.14.34
+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=("${provides[@]}")
+
+_npmpkg="${_name}-linux-64"
+source=("${_npmpkg}-${pkgver}.tgz::https://registry.npmjs.org/${_npmpkg}/-/${_npmpkg}-${pkgver}.tgz")
+sha256sums=('f8ae70245fd4a48e0e57603827665da22a442b4327a27364db2a84f07e2e534c')
+
+package() {
+ cd "${srcdir}/package/bin"
+ install -Dm755 -t "${pkgdir}/usr/bin" "${_name}"
+}