summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoricasdri2016-10-21 21:00:20 -0400
committericasdri2016-10-21 21:00:20 -0400
commit23554a582a3ad19ddb816db6d019077b18d7ccac (patch)
tree64b1d86503c05cc96f6177deb91970626ede8f5a
downloadaur-23554a582a3ad19ddb816db6d019077b18d7ccac.tar.gz
Initial commit
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD24
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9568812f914
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+# Generated by mksrcinfo v8
+# Sat Oct 22 00:59:23 UTC 2016
+pkgbase = nodejs-create-react-app
+ pkgdesc = Create React apps with no build configuration
+ pkgver = 0.5.0
+ pkgrel = 1
+ url = https://www.npmjs.com/package/create-react-app
+ arch = any
+ license = BSD
+ makedepends = npm
+ depends = nodejs
+ noextract = create-react-app-0.5.0.tgz
+ options = !emptydirs
+ source = https://registry.npmjs.org/create-react-app/-/create-react-app-0.5.0.tgz
+ sha384sums = c9c9af490483d075427aa40c0870237302b6781e6939abfb687451117f927ced19c1a3b5bb12b286ff2e1c58e191698d
+
+pkgname = nodejs-create-react-app
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..6f310edf1dc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+pkg/
+src/
+*.pkg.tar.xz
+*.tgz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b5fb47e2eb4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: icasdri <icasdri at gmail dot com>
+
+_npmname=create-react-app
+pkgname="nodejs-${_npmname}"
+pkgver=0.5.0
+pkgrel=1
+pkgdesc="Create React apps with no build configuration"
+arch=(any)
+url="https://www.npmjs.com/package/${_npmname}"
+license=('BSD')
+depends=('nodejs')
+makedepends=('npm')
+options=('!emptydirs')
+source=("https://registry.npmjs.org/${_npmname}/-/${_npmname}-${pkgver}.tgz")
+noextract=(${_npmname}-${pkgver}.tgz)
+sha384sums=('c9c9af490483d075427aa40c0870237302b6781e6939abfb687451117f927ced19c1a3b5bb12b286ff2e1c58e191698d')
+
+package() {
+ cd "$srcdir"
+ local _npmdir="${pkgdir}/usr/lib/node_modules/"
+ mkdir -p "$_npmdir"
+ cd "$_npmdir"
+ npm install -g --prefix "${pkgdir}/usr" "${_npmname}@${pkgver}"
+}