summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Gysin2017-02-13 22:46:31 +0200
committerChristoph Gysin2017-02-13 22:46:31 +0200
commitd9890253eed566d9e962a76c8df6c2b8d6baa693 (patch)
tree32b1c107674d772b7c3fd0c37782a227700b2e55
downloadaur-d9890253eed566d9e962a76c8df6c2b8d6baa693.tar.gz
initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD27
3 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a2dbfa46a2e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Mon Feb 13 20:46:22 UTC 2017
+pkgbase = nodejs-surge
+ pkgdesc = CLI for the surge.sh CDN
+ pkgver = 0.17.6
+ pkgrel = 1
+ url = https://github.com/sintaxi/surge
+ arch = i686
+ arch = x86_64
+ license = ISC
+ makedepends = npm
+ depends = nodejs
+ source = surge-0.17.6.tar.gz::https://github.com/sintaxi/surge/archive/v0.17.6.tar.gz
+ sha256sums = 49235786aa32e857ee55257fa72019e3a368d962e6165779047c9caa5ebacbcc
+
+pkgname = nodejs-surge
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..d725ba4cf0d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+*.tar.*
+pkg/
+src/
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d0a83429dc6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Christoph Gysin <christoph.gysin@gmail.com>
+
+pkgname=nodejs-surge
+_pkgname=${pkgname#nodejs-}
+_gh_user=sintaxi
+pkgver=0.17.6
+pkgrel=1
+pkgdesc='CLI for the surge.sh CDN'
+arch=('i686' 'x86_64')
+url="https://github.com/${_gh_user}/${_pkgname}"
+license=('ISC')
+depends=('nodejs')
+makedepends=('npm')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
+sha256sums=('49235786aa32e857ee55257fa72019e3a368d962e6165779047c9caa5ebacbcc')
+
+package() {
+ npm \
+ install \
+ --user root \
+ --global \
+ --prefix "${pkgdir}/usr" \
+ --cache "${srcdir}/npm-cache" \
+ "${srcdir}/${_pkgname}-${pkgver}"
+}
+
+# vim:set ts=2 sw=2 et: